From 0357542bbdeecad63295e782965025a762bfca0f Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Fri, 3 Dec 2021 23:40:25 +0100 Subject: [PATCH] chg: [import-poc] never flush --- bin/import-poc/import-hashlookup-server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/import-poc/import-hashlookup-server.py b/bin/import-poc/import-hashlookup-server.py index 67c4e72..036c624 100644 --- a/bin/import-poc/import-hashlookup-server.py +++ b/bin/import-poc/import-hashlookup-server.py @@ -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)