changeset 557:830ee5663703

increase waiter timeout
author Matt Johnston <matt@ucc.asn.au>
date Tue, 09 Jun 2015 23:37:49 +0800
parents c5f8375b12a2
children 18e6e830ca26
files py/configwaiter.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/py/configwaiter.py	Tue Jun 09 23:27:44 2015 +0800
+++ b/py/configwaiter.py	Tue Jun 09 23:37:49 2015 +0800
@@ -36,7 +36,7 @@
                 300)
             D("waiter status %d" % r.status)
             if r.status == 200:
-                rawresp = yield from asyncio.wait_for(r.text(), 300)
+                rawresp = yield from asyncio.wait_for(r.text(), 600)
 
                 resp = utils.json_load_round_float(rawresp)
 
@@ -52,7 +52,7 @@
                 yield from asyncio.sleep(30)
 
         except Exception as e:
-            E("Error watching config: %s" % str(e))
+            EX("Error watching config: %s" % str(e))