Commit 974f74b
authored
Update request_utils.py (#163)
Tweak retry values to be more robust:
Should be equivalent to wait-time-values-between-retries and
cumulative-time-between-tries of (in seconds):
```
>>> a = [min(math.floor(3 * (1.88 ** i)), 720) for i in range(10)]; a; [sum(a[:i+1]) for i in range(len(a))]
[3, 5, 10, 19, 37, 70, 132, 249, 468, 720]
[3, 8, 18, 37, 74, 144, 276, 525, 993, 1713]
```1 parent 5ae2f46 commit 974f74b
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
0 commit comments