-
Notifications
You must be signed in to change notification settings - Fork 570
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
fix(#3975): do not unref timeout #3977
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should inred if the request is aborted
Do you mean to unref if the request can be aborted? |
Consider the following case: The retry timeout is active for another 60s. We wan't close the application by aborting all pending requests. With this change the application will continue hanging for 60s for no purpose. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not perfect but probably better than current state of things...
Ah ok yes, see now. |
It will require further thinking; I've tried to make it bare basic but it seems we are prone to several race conditions, so keeping it within the handler class might not sort out all the situations; let me spend more time on that later this week. In the meanwhile, let's merge this one to unblock the issue and will continue further |
Appreciate the quick fix!
Is |
This relates to...
Closes #3975
Rationale
Changes
Features
Bug Fixes
Breaking Changes and Deprecations
Status