Skip to content

Commit 7b5d41c

Browse files
committed
Don't retry on timeouts
1 parent 5c28cee commit 7b5d41c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs/api/v2/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def setup_api():
4141
status=3,
4242
backoff_factor=0.5, # 0.5, 1, 2 seconds
4343
method_whitelist=('GET', 'PUT', 'PATCH'),
44-
status_forcelist=(408, 413, 429, 500, 502, 503, 504),
44+
status_forcelist=(408, 413, 429, 500, 502, 503),
4545
)
4646

4747
session.mount(

0 commit comments

Comments
 (0)