We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
urllib3
1 parent ee4f94c commit 1c8bb11Copy full SHA for 1c8bb11
1 file changed
src/databricks/sql/cloudfetch/downloader.py
@@ -17,7 +17,9 @@
17
retryPolicy = Retry(
18
total=5, # max retry attempts
19
backoff_factor=1, # min delay, 1 second
20
- backoff_max=60, # max delay, 60 seconds
+ # TODO: `backoff_max` is supported since `urllib3` v2.0.0, but we allow >= 1.26.
21
+ # The default value (120 seconds) used since v1.26 looks reasonable enough
22
+ # backoff_max=60, # max delay, 60 seconds
23
# retry all status codes below 100, 429 (Too Many Requests), and all codes above 500,
24
# excluding 501 Not implemented
25
status_forcelist=[*range(0, 101), 429, 500, *range(502, 1000)],
0 commit comments