diff py/configwaiter.py @ 260:6fb9d5f654ff

increase waiter timeout
author Matt Johnston <matt@ucc.asn.au>
date Tue, 09 Jun 2015 23:37:49 +0800
parents 26eee8591f61
children 654caee52c83
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))