Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clearing sending channels when reconnecting to the server. #142

Open
oneprofittips opened this issue Feb 1, 2024 · 1 comment
Open

Clearing sending channels when reconnecting to the server. #142

oneprofittips opened this issue Feb 1, 2024 · 1 comment

Comments

@oneprofittips
Copy link

When connecting again, you need to clear all sending channels. At the moment, if the connection is broken, messages accumulate in a queue, and as soon as the client reconnects, all messages from the queue begin to be sent to the server. But when you reconnect, these messages are no longer relevant, and the server bans you.

@Marfusios
Copy link
Owner

Good point, I will create a method to clear the sending queue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants