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

question about max_time #196

Open
jrobbins-LiveData opened this issue Mar 2, 2023 · 0 comments
Open

question about max_time #196

jrobbins-LiveData opened this issue Mar 2, 2023 · 0 comments

Comments

@jrobbins-LiveData
Copy link

It appears that max_time sets a time limit for the time spent retrying, that does not include the initial try. If that is correct, if all I have is, for example, the total time budget for an API call, then I have to subtract the maximum time the initial attempt take from max_time to make sure that the total time spent = (initial attempt + all retries) < time_budget. Is that the intent of the code?

By way of context, we assumed that max_time could be set to our time_budget for the total time spent calling an API, but this assumption seemed to be incorrect.

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

No branches or pull requests

1 participant