Commit 8f6f689d authored by wang's avatar wang

test

parent 106d8f8b
......@@ -71,7 +71,7 @@ def exec(thread_id):
id_ = uuid.uuid4().hex
pull = check_pull()
try:
if pull.get('status') == 1:
if pull.get('status') == 1 and pull.get('message') != 'redis: nil':
log.info('休眠十秒')
time.sleep(10)
continue
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment