mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
jabber_mirror: Use timeout_success_equivalent in front-end script
(imported from commit 6ca8ec5a2c31d20e4e437804c65650c5a98c69f9)
This commit is contained in:
@@ -37,7 +37,7 @@ signal.signal(signal.SIGINT, die)
|
||||
args = [os.path.join(os.path.dirname(sys.argv[0]), "jabber_mirror_backend.py")]
|
||||
args.extend(sys.argv[1:])
|
||||
|
||||
backoff = RandomExponentialBackoff()
|
||||
backoff = RandomExponentialBackoff(timeout_success_equivalent=300)
|
||||
while backoff.keep_going():
|
||||
print "Starting Jabber mirroring bot"
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user