Commit eee6d1b
More
* Add `min_wait_seconds` argument to `proxy_with_retry` helper
* Add `retryable_exceptions` argument to `proxy_with_retry` helper
This allows non-aiohttp calls to use the helper to retry proxy related
requests.
* Stricter type for `retryable_exceptions`
Co-authored-by: Tulir Asokan <[email protected]>
---------
Co-authored-by: Tulir Asokan <[email protected]>proxy_with_retry helper arguments (#136)1 parent 090f333 commit eee6d1b
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
| 94 | + | |
93 | 95 | | |
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
97 | 99 | | |
98 | 100 | | |
99 | | - | |
| 101 | + | |
100 | 102 | | |
101 | 103 | | |
102 | 104 | | |
103 | | - | |
| 105 | + | |
104 | 106 | | |
105 | 107 | | |
106 | 108 | | |
| |||
0 commit comments