From d12490b3e50dc193519808a18c0a31ffac72129e Mon Sep 17 00:00:00 2001 From: Zev Benjamin Date: Mon, 17 Mar 2014 13:30:44 -0400 Subject: [PATCH] jabber_mirror: Use timeout_success_equivalent in front-end script (imported from commit 6ca8ec5a2c31d20e4e437804c65650c5a98c69f9) --- bots/jabber_mirror.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bots/jabber_mirror.py b/bots/jabber_mirror.py index 3119af3..a90ea64 100755 --- a/bots/jabber_mirror.py +++ b/bots/jabber_mirror.py @@ -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: