Change max_retries

This commit is contained in:
shamoon 2024-12-02 14:51:32 -08:00
parent e657330ac1
commit 490d5f54aa

View File

@ -576,7 +576,7 @@ def run_workflows_updated(sender, document: Document, logging_group=None, **kwar
@shared_task(
retry_backoff=True,
autoretry_for=(httpx.HTTPStatusError,),
retry_kwargs={"max_retries": 3},
max_retries=3,
)
def send_webhook(url, data, headers, files):
try: