1515 retry_backoff = 8 ,
1616 retry_jitter = True ,
1717 retry_backoff_max = 3600 ,
18- retry_kwargs = {'max_retries' : None }
18+ retry_kwargs = {'max_retries' : 32 }
1919)
2020def send_usage (usage : List [Dict [str , str ]]):
2121 task_id = uuid .uuid4 ().hex
@@ -44,7 +44,7 @@ def send_app_log(app_id, msg, level=logging.INFO):
4444
4545@shared_task (
4646 autoretry_for = (ServiceUnavailable , ),
47- retry_kwargs = {'max_retries' : None }
47+ retry_kwargs = {'max_retries' : 3 }
4848)
4949def scale_app (app , user , structure ):
5050 task_id = uuid .uuid4 ().hex
@@ -60,7 +60,7 @@ def scale_app(app, user, structure):
6060
6161@shared_task (
6262 autoretry_for = (ServiceUnavailable , ),
63- retry_kwargs = {'max_retries' : None }
63+ retry_kwargs = {'max_retries' : 3 }
6464)
6565def run_pipeline (release , * args , ** kwargs ):
6666 task_id = uuid .uuid4 ().hex
@@ -162,7 +162,7 @@ def downstream_model_owner(app, old_owner, new_owner):
162162
163163@shared_task (
164164 autoretry_for = (ServiceUnavailable , ),
165- retry_kwargs = {'max_retries' : None }
165+ retry_kwargs = {'max_retries' : 3 }
166166)
167167def scale_resources (blocklist , app , suspended_state , scale_type ):
168168 task_id = uuid .uuid4 ().hex
0 commit comments