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

fix: respect totalTimeout and do not retry if nextRetryDelay is <= 0 #38

Merged
merged 2 commits into from Jun 7, 2022

Conversation

ddelgrosso1
Copy link
Contributor

I noticed an issue where totalTimeout is not being respected to end the retry cycle. It is possible for this value to go negative which causes setTimeout to default to executing immediately.

@ddelgrosso1
Copy link
Contributor Author

@stephenplusplus is there a nicer way of handling this?

@ddelgrosso1 ddelgrosso1 requested a review from a team as a code owner June 7, 2022 20:03
@product-auto-label product-auto-label bot added the size: xs Pull request size is extra small. label Jun 7, 2022
@ddelgrosso1 ddelgrosso1 added the owlbot:run Add this label to trigger the Owlbot post processor. label Jun 7, 2022
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jun 7, 2022
@ddelgrosso1 ddelgrosso1 merged commit 9501a42 into googleapis:main Jun 7, 2022
@ddelgrosso1 ddelgrosso1 deleted the fix-total-timeout branch June 7, 2022 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: xs Pull request size is extra small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants