|
retry_methods={"GET", "POST", "PUT", "DELETE"}, # TODO: really retry all of them?.. |
Restarting POST requests to US is unsafe. I would suggest to remove POST from retry_methods.
Another strange thing is related to the codes:
|
self._retry_codes = {408, 429, 500, 502, 503, 504} |
Retrying
408 and
429 is a way to completely shut down an overloaded service
datalens-backend/lib/dl_core/dl_core/united_storage_client_aio.py
Line 155 in 6c0706a
Restarting POST requests to US is unsafe. I would suggest to remove
POSTfromretry_methods.Another strange thing is related to the codes:
datalens-backend/lib/dl_core/dl_core/united_storage_client_aio.py
Line 131 in 6c0706a
408and429is a way to completely shut down an overloaded service