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

Replace time.Sleep calls with time.After and context check #656

Merged
merged 1 commit into from
Apr 1, 2022

Conversation

mark-rushakoff
Copy link
Member

This way, if a user sends SIGINT during a point when we were previously
sleeping, this should begin cancellation immediately instead of waiting
for the sleep to complete first.

This way, if a user sends SIGINT during a point when we were previously
sleeping, this should begin cancellation immediately instead of waiting
for the sleep to complete first.
@mark-rushakoff mark-rushakoff force-pushed the refactor/context-sleep branch from cda0ab4 to 6ba6197 Compare April 1, 2022 13:55
@jtieri jtieri merged commit 658d291 into main Apr 1, 2022
@jtieri jtieri deleted the refactor/context-sleep branch April 1, 2022 15:25
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

Successfully merging this pull request may close these issues.

2 participants