1
This commit is contained in:
parent
3247aeb95b
commit
e5014dbae8
@ -64,9 +64,9 @@ def saveKeys(r, keys, curr_file):
|
|||||||
]
|
]
|
||||||
) + '\n')
|
) + '\n')
|
||||||
if expire < 0:
|
if expire < 0:
|
||||||
print('[ERROR] ' + key + ' ttl < 0')
|
print('[WARNING] ' + key + ' ttl < 0')
|
||||||
if expire > 3600 * 24:
|
if expire > 3600 * 24:
|
||||||
print('[ERROR] ' + key + ' ttl > 3600 * 24')
|
print('[WARNING] ' + key + ' ttl > 3600 * 24')
|
||||||
|
|
||||||
def exportRedis(context, redis_conf, redis_rule_conf):
|
def exportRedis(context, redis_conf, redis_rule_conf):
|
||||||
redis_dir = CONFIG_DIR + 'out/' + context['channel'] + '/redis/'
|
redis_dir = CONFIG_DIR + 'out/' + context['channel'] + '/redis/'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user