Skip to content

Commit

Permalink
No retry on 429
Browse files Browse the repository at this point in the history
  • Loading branch information
samskillman committed Aug 28, 2017
1 parent 6fb21c6 commit 593fcb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion descarteslabs/services/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class Service:
'HEAD', 'TRACE', 'GET', 'POST',
'PUT', 'OPTIONS', 'DELETE'
]),
status_forcelist=[429, 500, 502, 503, 504])
status_forcelist=[500, 502, 503, 504])

ADAPTER = HTTPAdapter(max_retries=RETRY_CONFIG)

Expand Down

0 comments on commit 593fcb2

Please sign in to comment.