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

Dequeue Events from send #171

Open
sheikx1221 opened this issue Nov 28, 2021 · 0 comments
Open

Dequeue Events from send #171

sheikx1221 opened this issue Nov 28, 2021 · 0 comments

Comments

@sheikx1221
Copy link

Reconnecting web socket is a great tool and we this in most of our production apps.
One issue I have noticed is that there is no way to dequeue a certain send message

We have a service that resends the event after timeout has reached, in order to make sure data is send to server. The problem is that previous issues do not dequeue from the array, therefore once the server is back online all the events in the queue are sent to server (most of which are duplicated now because of the service).

Is there a way we can dequeue the event. In order to reduce redundant requests going to the server from socket?

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

1 participant