Skip to content

Commit f2ade56

Browse files
authored
fix: add 408 status code to retryable status codes
That is just in case, noticed here corva-ai/witsml-source-lambda#216 (comment)
1 parent 734bd28 commit f2ade56

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/corva/api_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
from urllib3 import Retry
66

77
RETRYABLE_STATUS_CODES = (
8+
408, # HTTPStatus.REQUEST_TIMEOUT
89
429, # HTTPStatus.TOO_MANY_REQUESTS
910
500, # HTTPStatus.INTERNAL_SERVER_ERROR
1011
502, # HTTPStatus.BAD_GATEWAY

0 commit comments

Comments
 (0)