mirror of
https://github.com/adulau/hashlookup-server.git
synced 2024-11-21 17:47:06 +00:00
chg: [import-poc] never flush
This commit is contained in:
parent
a928c4e51e
commit
0357542bbd
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ class import_hash:
|
||||||
print("**INIT** dataset {0} .".format(dataset))
|
print("**INIT** dataset {0} .".format(dataset))
|
||||||
|
|
||||||
if self.flushrdb:
|
if self.flushrdb:
|
||||||
self.rdb.flushdb()
|
pass
|
||||||
else:
|
else:
|
||||||
self.rdb.delete("stat:{0}".format(dataset))
|
self.rdb.delete("stat:{0}".format(dataset))
|
||||||
self.rdb.set("stat:{0}".format(dataset), 0)
|
self.rdb.set("stat:{0}".format(dataset), 0)
|
||||||
|
|
Loading…
Reference in a new issue