-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
Retrying with exponential back-off and randomisation #80
Comments
Hey @enisdenjo 👋 Great on work on the graphql-ws library! I'm fighting a bit with this issue this morning, I'm seeing a double problem here:
The scenario down below is happening with the following configuration: return new SubscriptionLink({
url: subscriptionsEndpoint,
retryTimeout: 30e3,
on: { /* event handlers */ }
}) As you can see, the
|
Ah, that is great news thanks for considering it 🙇 I'd be happy to test this in my environment if you want once ready. |
@enisdenjo I am very sorry for being pushy with this, is there any chance you'd have an ETA for at least the buggy part? I'm happy to help if needed to make this move forward :) (It's blocking us a bit as we're switching to Just let me know if I can help you on this :) |
No worries, I can understand! I'll try pushing the fix later today (am currently swamped with my day job, as soon as I am done - I'll come back to the PR). |
🎉 This issue has been resolved in version 3.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@enisdenjo You rock 💪 |
Story
As a client
I want to use exp back-off and randomisation on retries
So that I prevent the "thundering herd" problem and avoid DDOSing the server when it restarts
Acceptance criteria
The text was updated successfully, but these errors were encountered: