snowflake-connector-python
snowflake-connector-python copied to clipboard
SNOW-635269: Allow control of retry counts and/or retry backoff logic
What is the current behavior?
The retry behavior when snowflake responds with a 503 is not controllable. It currently retries 10 times with a jittered 15s backoff.
What is the desired behavior?
Being able to control this either via a global override or the client connection option would be desirable. This would allow for our application logic to handle these errors or do longer backoffs so we don't send barrage the service with more requests when it can't respond.
How would this improve snowflake-connector-python?
Add more configuration and flexibility to the python client.
References, Other Background
Please expose configuration for MAX_DOWNLOAD_RETRY and DecorrelateJitterBackoff