From be4365bbf74247c2cd4fe0a615e53e9038a01ec0 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Sat, 30 Jun 2018 00:57:27 -0400 Subject: [PATCH] Increase document image generation task timeout from 20 seconds to 120 seconds to allow more time for image generation on slow hardware like ARM SBCs. Signed-off-by: Roberto Rosario --- mayan/apps/documents/literals.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mayan/apps/documents/literals.py b/mayan/apps/documents/literals.py index 2ca6ba239e..47777469aa 100644 --- a/mayan/apps/documents/literals.py +++ b/mayan/apps/documents/literals.py @@ -28,7 +28,7 @@ DEFAULT_LANGUAGE_CODES = ( ) DEFAULT_ZIP_FILENAME = 'document_bundle.zip' DEFAULT_DOCUMENT_TYPE_LABEL = _('Default') -DOCUMENT_IMAGE_TASK_TIMEOUT = 20 +DOCUMENT_IMAGE_TASK_TIMEOUT = 120 STUB_EXPIRATION_INTERVAL = 60 * 60 * 24 # 24 hours UPDATE_PAGE_COUNT_RETRY_DELAY = 10 UPLOAD_NEW_VERSION_RETRY_DELAY = 10