mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-03-13 15:01: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:
|
except:
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
gevent.sleep(connect_timeout)
|
gevent.sleep(connect_timeout)
|
||||||
connect_timeout *= 2
|
connect_timeout = min(600, connect_timeout * 2)
|
||||||
return subp
|
return subp
|
||||||
|
|
||||||
exiting = False
|
exiting = False
|
||||||
|
Loading…
Reference in New Issue
Block a user