mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
Sets the http timeouts equal to the task timeout, so it's either done or really done
This commit is contained in:

committed by
Trenton H

parent
8f2715e437
commit
fe1f88ce5d
@@ -100,7 +100,7 @@ class TikaDocumentParser(DocumentParser):
|
||||
files=files,
|
||||
headers=headers,
|
||||
data=data,
|
||||
timeout=30.0,
|
||||
timeout=settings.CELERY_TASK_TIME_LIMIT,
|
||||
)
|
||||
response.raise_for_status() # ensure we notice bad responses
|
||||
except Exception as err:
|
||||
|
Reference in New Issue
Block a user