Browse Source

Reset sleep timer upon reconnect

pull/636/head
Ed Serzo 4 years ago
parent
commit
3104e6bf5d
  1. 1
      socketio/redis_manager.py

1
socketio/redis_manager.py

@ -92,6 +92,7 @@ class RedisManager(PubSubManager): # pragma: no cover
while True:
try:
if connect:
retry_sleep = 1
self._redis_connect()
self.pubsub.subscribe(self.channel)
for message in self.pubsub.listen():

Loading…
Cancel
Save