-
Notifications
You must be signed in to change notification settings - Fork 323
Use context.AfterFunc()
instead of a goroutine to track timeouts
#532
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
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.
Code looks good and the changes work well in my testing. Thanks 👍
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.
Thanks for the PR! This is a solid improvement, but I noticed a gotcha that needs to be addressed.
1c2984a
to
05e7b4b
Compare
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.
Looks good, thanks again!
Thanks for merging! If you could tag a release, I'd deploy to prod and see what happens 🤞 |
This is a reworked version of #501 with some minor improvements.
Closes #411
Closes #501