From e25ccc5e9a467fee8f4a5a6e795b4732fc8ced7d Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Thu, 20 Aug 2020 16:50:58 -0700 Subject: [PATCH] Double the timeout for upload now that chunks can have custom sizes --- src/storage/s3.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/s3.js b/src/storage/s3.js index 40e408d22..058020c5d 100644 --- a/src/storage/s3.js +++ b/src/storage/s3.js @@ -68,7 +68,7 @@ function getS3Config(apiConfig, callback) { }, httpOptions: { connectTimeout: 10000, // https://github.com/aws/aws-sdk-js/pull/1446 - timeout: 300 * 1000 // https://github.com/aws/aws-sdk-js/issues/1704 (allow 5MB chunk upload to take upto 5 minutes) + timeout: 600 * 1000 // https://github.com/aws/aws-sdk-js/issues/1704 (allow chunk upload to take upto 5 minutes) } };