Skip to content
This repository was archived by the owner on Aug 8, 2025. It is now read-only.
This repository was archived by the owner on Aug 8, 2025. It is now read-only.

question about max_time #196

@jrobbins-LiveData

Description

@jrobbins-LiveData

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions