From e5014dbae898c6340a4f7f6a2716483deb65fdd6 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 4 Nov 2020 14:40:14 +0800 Subject: [PATCH] 1 --- tools/migratedb/migratedb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/migratedb/migratedb.py b/tools/migratedb/migratedb.py index 07add44..06c1d74 100644 --- a/tools/migratedb/migratedb.py +++ b/tools/migratedb/migratedb.py @@ -64,9 +64,9 @@ def saveKeys(r, keys, curr_file): ] ) + '\n') if expire < 0: - print('[ERROR] ' + key + ' ttl < 0') + print('[WARNING] ' + key + ' ttl < 0') if expire > 3600 * 24: - print('[ERROR] ' + key + ' ttl > 3600 * 24') + print('[WARNING] ' + key + ' ttl > 3600 * 24') def exportRedis(context, redis_conf, redis_rule_conf): redis_dir = CONFIG_DIR + 'out/' + context['channel'] + '/redis/'