Updates to get XHR polling working correctly. Mostly encode/decode issues.

This commit is contained in:
Sean Arietta 2014-12-22 22:08:15 -08:00
commit f4a96c72d0
3 changed files with 21 additions and 14 deletions

View file

@ -178,7 +178,6 @@ class SocketIO(object):
def _terminate_heartbeat(self):
if self.heartbeat_terminator is not None:
self.heartbeat_terminator.set();
#time.sleep(self.session.heartbeat_interval);
self.heartbeat_thread.join();
def define(self, Namespace, path=''):
@ -239,7 +238,7 @@ class SocketIO(object):
try:
self.reconnect();
except ConnectionError as e:
time.sleep(1);
time.sleep(RETRY_INTERVAL_IN_SECONDS);
continue;
try: