mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-01 11:19:32 -05:00
Change max_retries
This commit is contained in:
parent
e657330ac1
commit
490d5f54aa
@ -576,7 +576,7 @@ def run_workflows_updated(sender, document: Document, logging_group=None, **kwar
|
|||||||
@shared_task(
|
@shared_task(
|
||||||
retry_backoff=True,
|
retry_backoff=True,
|
||||||
autoretry_for=(httpx.HTTPStatusError,),
|
autoretry_for=(httpx.HTTPStatusError,),
|
||||||
retry_kwargs={"max_retries": 3},
|
max_retries=3,
|
||||||
)
|
)
|
||||||
def send_webhook(url, data, headers, files):
|
def send_webhook(url, data, headers, files):
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user