mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-03-12 14:31:28 -04:00
Cap retry delay at 10 minutes
This commit is contained in:
parent
a29d17b0bd
commit
93d1432f02
@ -182,7 +182,7 @@ def dispatch(args):
|
||||
except:
|
||||
traceback.print_exc()
|
||||
gevent.sleep(connect_timeout)
|
||||
connect_timeout *= 2
|
||||
connect_timeout = min(600, connect_timeout * 2)
|
||||
return subp
|
||||
|
||||
exiting = False
|
||||
|
Loading…
Reference in New Issue
Block a user