sleepy-discord
sleepy-discord copied to clipboard
'reconnection to discord' silently stops after 10 attempts
Hello, thanks for the hard work that has been put into this project.
If for some reason the connection is lost, and not recovered within 10 reconnection attempts, the connection is never restored. Commenting the line 'if (consecutiveReconnectsCount == 10) getTheGateway();' seems to fix the problem.
Yes, that's an old issue.
I am commenting out the content of this function: void BaseDiscordClient::quit(bool isRestarting, bool isDisconnected) {/**/} it helps too.
It reproduces after 5-6 minutes without an internet connection.