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

Small refactor for canceled context #10

Closed
wants to merge 1 commit into from
Closed

Small refactor for canceled context #10

wants to merge 1 commit into from

Conversation

quagmt
Copy link
Contributor

@quagmt quagmt commented Jan 14, 2022

Description

  • Just a small change for checking canceled context inside Do . I moved the checking part into for loop before calling f to make sure context is always checked before calling f so if context is canceled and it's not selected at the end of the loop, it will be checked one more time here
  • Also updating benchmark_test to use the latest version of go-retry

@quagmt quagmt closed this Jan 14, 2022
@github-actions
Copy link

This pull request has been automatically locked since there has not
been any recent activity after it was closed. Please open a new
issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant