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

Get max_tries/max_time values for every call fixes #160 #161

Merged
merged 1 commit into from
Jun 7, 2022

Conversation

jvrsantacruz
Copy link
Contributor

Changes backoff to dynamically get the max_tries and max_time values for every new call and always try to evaluate.
Avoid caching the first obtained value for all executions.

See #160

Copy link
Member

@bgreen-litl bgreen-litl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good find. I didn't intend to change the behavior. This is the commit that did it b1cbbb5

Your fix looks good but one comment inline.

backoff/_sync.py Outdated Show resolved Hide resolved
@bgreen-litl bgreen-litl merged commit 732eaa3 into litl:master Jun 7, 2022
@bgreen-litl
Copy link
Member

@jvrsantacruz thank you for this! merged.

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.

None yet

2 participants