Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@sugarlabs.org>2013-07-28 21:27:04 (GMT)
committer Aleksey Lim <alsroot@sugarlabs.org>2013-07-28 21:27:04 (GMT)
commitcdde7a3c7c7a50db231333be5f91e799d0bfcd25 (patch)
tree89977894dc6fcb9b6387186a0428eb9173225ac4
parent48c396af4d9c6bdea03db81968cae8c32934f31a (diff)
Reset connection timeout on successful handshake
-rw-r--r--sugar_network/client/routes.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sugar_network/client/routes.py b/sugar_network/client/routes.py
index 11b3fce..c4f5edb 100644
--- a/sugar_network/client/routes.py
+++ b/sugar_network/client/routes.py
@@ -360,6 +360,7 @@ class ClientRoutes(model.Routes, journal.Routes):
while True:
try:
handshake(url)
+ timeout = _RECONNECT_TIMEOUT
if self._no_subscription:
return
pull_events()