You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "sundaram-dubey (via GitHub)" <gi...@apache.org> on 2023/07/10 11:40:12 UTC

[GitHub] [superset] sundaram-dubey opened a new issue, #24641: question: How to customize number of retries after 503 http code

sundaram-dubey opened a new issue, #24641:
URL: https://github.com/apache/superset/issues/24641

   ## Screenshot
   
   My request is retrying 3 time after being timeout once. I want to reduce number of retries to one. How can we do that? 
   <img width="1155" alt="Screenshot 2023-07-10 at 5 05 08 PM" src="https://github.com/apache/superset/assets/96574271/949ee5e0-a227-4ad7-854e-4fed15d32e8e">
   
   
   ## Description
   I have tried following configuration in config.py, but it didn't work - 
   
   ```json
   const DEFAULT_FETCH_RETRY_OPTIONS = {
     retries: 1,
     retryDelay: 1000,
     retryOn: [503]
   };
   ```
   I don't want to retry sending a request to backend if it fails first time (or first retry) to get the data. It is causing unnecessary load on our databricks warehouse. 
   
   please help here. 
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] rusackas closed issue #24641: question: How to customize number of retries after 503 http code

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #24641: question: How to customize number of retries after 503 http code
URL: https://github.com/apache/superset/issues/24641


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org