Each chunk can take up to 30 mins to upload

This commit is contained in:
Girish Ramakrishnan
2020-11-06 00:05:18 -08:00
parent a113ece22b
commit df8a71cd8b
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -2131,4 +2131,5 @@
* rsync: add warning to remove lifecycle rules * rsync: add warning to remove lifecycle rules
* Add volume management * Add volume management
* backups: adjust node's heap size based on memory limit * backups: adjust node's heap size based on memory limit
* s3: each chunk can take up to 30 mins to upload
+2 -2
View File
@@ -67,8 +67,8 @@ function getS3Config(apiConfig, callback) {
customBackoff: () => 20000 // constant backoff - https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/Config.html#retryDelayOptions-property customBackoff: () => 20000 // constant backoff - https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/Config.html#retryDelayOptions-property
}, },
httpOptions: { httpOptions: {
connectTimeout: 10000, // https://github.com/aws/aws-sdk-js/pull/1446 connectTimeout: 20000, // https://github.com/aws/aws-sdk-js/pull/1446
timeout: 600 * 1000 // https://github.com/aws/aws-sdk-js/issues/1704 (allow chunk upload to take upto 5 minutes) timeout: 3000 * 1000 // https://github.com/aws/aws-sdk-js/issues/1704 (allow chunk upload to take upto 30 minutes)
} }
}; };