| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -701,7 +701,7 @@ def http_request( | |||
| 701 | 701 | result.status_code in [500, 502, 503, 504] and retry_transient_errors | |
| 702 | 702 | ): | |
| 703 | 703 | if max_retries == -1 or cur_retries < max_retries: | |
| 704 | - wait_time = 2 ** cur_retries * 0.1 | ||
| 704 | + wait_time = 2**cur_retries * 0.1 | ||
| 705 | 705 | if "Retry-After" in result.headers: | |
| 706 | 706 | wait_time = int(result.headers["Retry-After"]) | |
| 707 | 707 | cur_retries += 1 | |
| Back | FazBrowse Home | New Git URL |
0 commit comments