CloudBot icon indicating copy to clipboard operation
CloudBot copied to clipboard

We need to limit reconnect attempts

Open dmptrluke opened this issue 10 years ago • 1 comments

Right now if the bot fails to connect to a network or loses connection, it continues trying to reconnect as fast as it possibly can. For obvious reasons, this can be a problem and lead to the network blocking connections, which results in even more connection attempts!

dmptrluke avatar Dec 23 '14 14:12 dmptrluke

I tried adding asyncio.sleep to the connection_lost method but apparently asyncio doesn't like that (it broke the bot), so see what you can do, I guess :+1:

dmptrluke avatar Dec 23 '14 14:12 dmptrluke