chg: [import-poc] never flush

This commit is contained in:
Alexandre Dulaunoy 2021-12-03 23:40:25 +01:00
parent a928c4e51e
commit 0357542bbd
Signed by: adulau
GPG key ID: 09E2CD4944E6CBCD

View file

@ -187,7 +187,7 @@ class import_hash:
print("**INIT** dataset {0} .".format(dataset))
if self.flushrdb:
self.rdb.flushdb()
pass
else:
self.rdb.delete("stat:{0}".format(dataset))
self.rdb.set("stat:{0}".format(dataset), 0)