Skip to content

Commit 6bd2f92

Browse files
committed
add example for backoff_factor behavior
1 parent 18978aa commit 6bd2f92

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

examples/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ assets:
4343
# optional - can override default http_config
4444
# if not required, you can omit/comment out section
4545
# https://urllib3.readthedocs.io/en/stable/reference/urllib3.util.html
46+
# default backoff_factor 2.5 means we wait 5, 10, 20, and then 40 seconds before our last retry
47+
# - this should allow for per minute rate limits to be refreshed
4648
http_config:
4749
verify_ssl: false
4850
timeout: 30

examples/minio_config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ assets:
6666
# optional - can override default http_config
6767
# if not required, you can omit/comment out section
6868
# https://urllib3.readthedocs.io/en/stable/reference/urllib3.util.html
69+
# default backoff_factor 2.5 means we wait 5, 10, 20, and then 40 seconds before our last retry
70+
# - this should allow for per minute rate limits to be refreshed
6971
http_config:
7072
verify_ssl: false
7173
timeout: 30

0 commit comments

Comments
 (0)