From 0489eb8f7d41160a65c5bd6cb0f044e676e75582 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Tue, 7 Aug 2018 22:52:24 -0400 Subject: [PATCH] Update dropzone.js' timeout from 30 seconds to 120 to allow upload of large files on slow connections. Signed-off-by: Roberto Rosario --- HISTORY.rst | 2 ++ .../sources/templates/sources/upload_multiform_subtemplate.html | 1 + 2 files changed, 3 insertions(+) diff --git a/HISTORY.rst b/HISTORY.rst index 9f8f4da03b..c02f7ae7db 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -8,6 +8,8 @@ - Fix post login redirection to honor the ?next= URL query string argument. Thanks go to K.C. Wong (@dvusboy1). Closes GitLab issue #489. +- Update dropzone.js' timeout from 30 seconds to 120 to allow upload + of large files on slow connections. 3.0.1 (2018-07-08) ================= diff --git a/mayan/apps/sources/templates/sources/upload_multiform_subtemplate.html b/mayan/apps/sources/templates/sources/upload_multiform_subtemplate.html index d56bfbabe8..5e72d6a95a 100644 --- a/mayan/apps/sources/templates/sources/upload_multiform_subtemplate.html +++ b/mayan/apps/sources/templates/sources/upload_multiform_subtemplate.html @@ -55,6 +55,7 @@ dictResponseError: gettext('Server responded with {{statusCode}} code.'), paramName: 'source-file', previewTemplate: previewTemplate, + timeout: 1200000 }); {% endverbatim %} });