exp backoff 0 shift + fix quick retry logic

This commit is contained in:
DevilXD committed 2022-09-12 19:37:56 +02:00
1 parent 76a34685da
commit 3c6fecb039
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -189,7 +189,7 @@ class ExponentialBackoff:
*,
base: float = 2,
variance: float | tuple[float, float] = 0.1,
shift: float = -1,
shift: float = 0,
maximum: float = 300,
):
if base <= 1: