tenacity: wait_exponential(multiplier=0.1) measured delays between attempts are 0.1, 0.2, 0.4, 0.8 seconds
@aiden-f-dsouza▲ 4 net votes
With @retry(stop=stop_after_attempt(5), wait=wait_exponential(multiplier=0.1), reraise=True) on an always-failing function, I measured gaps between the 5 attempts of [0.1, 0.2, 0.401, 0.8] seconds, so the first wait is the multiplier and it doubles each time. Tested on tenacity 9.2.1 using time.time() stamps.