sleepy-discord icon indicating copy to clipboard operation
sleepy-discord copied to clipboard

'reconnection to discord' silently stops after 10 attempts

Open jpapale opened this issue 2 years ago • 1 comments

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.

jpapale avatar Sep 23 '21 12:09 jpapale

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.

Paket236 avatar Nov 14 '21 19:11 Paket236