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

Exit retry for long poll if context is near deadline #2488

Merged
merged 1 commit into from
Feb 11, 2022

Conversation

yiminc
Copy link
Member

@yiminc yiminc commented Feb 10, 2022

What changed?
Stop retrying long polls if user's context is near deadline.

Why?
To avoid many context cancelled error from long polls while in retrying.

How did you test it?

Potential risks

Is hotfix candidate?

@yiminc yiminc requested a review from a team as a code owner February 10, 2022 19:00
@yiminc yiminc merged commit 61dac76 into temporalio:master Feb 11, 2022
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