1 dépôt
Mechanisms for managing pauses between retries using fixed, random, or exponential delays.
Distinct from Randomized Interval Schedulers: Distinct from randomized schedulers: focuses on the controlled delay between retries rather than non-deterministic background task triggering.
Explore 1 awesome GitHub repository matching web development · Wait Interval Controllers. Refine with filters or upvote what's useful.
Tenacity is a Python retry library and fault tolerance framework designed to automatically re-execute failing functions based on custom conditions, wait intervals, and stop criteria. It provides a mechanism to apply retry logic to both synchronous functions and asynchronous coroutines. The library implements exponential backoff to increase delays between retries, helping to manage transient network failures and prevent the overloading of services. Its capabilities cover the definition of retry conditions based on exception types or return values, as well as the enforcement of duration limits
Manages pauses between retries using fixed delays, random intervals, or exponential backoff.