diff --git a/src/server.js b/src/server.js index 6fe892a1e..8d0e73ffe 100644 --- a/src/server.js +++ b/src/server.js @@ -39,7 +39,7 @@ async function initializeExpressSync() { const QUERY_LIMIT = '2mb', // max size for json and urlencoded queries (see also client_max_body_size in nginx) FIELD_LIMIT = 2 * 1024 * 1024; // max fields that can appear in multipart - const REQUEST_TIMEOUT = 20000; // timeout for all requests (see also setTimeout on the httpServer) + const REQUEST_TIMEOUT = 60000; // timeout for all requests (see also setTimeout on the httpServer) const json = middleware.json({ strict: true, limit: QUERY_LIMIT }), // application/json urlencoded = middleware.urlencoded({ extended: false, limit: QUERY_LIMIT }); // application/x-www-form-urlencoded