Skip to content

Commit 69e0e52

Browse files
authored
fix: do not retry on bad requests (#248)
1 parent 7ceec62 commit 69e0e52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdcclient/_common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class SysdigHTTPAdapter(HTTPAdapter):
1010
def __init__(self, *args, **kwargs):
1111
retry_strategy = Retry(
1212
total=3,
13-
status_forcelist=[403, 404, 429, 500, 502, 503, 504],
13+
status_forcelist=[500, 502, 503, 504],
1414
allowed_methods=["HEAD", "GET", "OPTIONS", "PUSH", "PUT"],
1515
backoff_factor=2,
1616
)

0 commit comments

Comments
 (0)