Commit bedcd6fc authored by Girish Ramakrishnan's avatar Girish Ramakrishnan

Disable the timeout altogether for chunk to upload

parent df8a71cd
......@@ -2131,5 +2131,5 @@
* rsync: add warning to remove lifecycle rules
* Add volume management
* backups: adjust node's heap size based on memory limit
* s3: each chunk can take up to 30 mins to upload
* s3: diasble per-chunk timeout
......@@ -62,13 +62,13 @@ function getS3Config(apiConfig, callback) {
accessKeyId: apiConfig.accessKeyId,
secretAccessKey: apiConfig.secretAccessKey,
region: apiConfig.region || 'us-east-1',
maxRetries: 5,
maxRetries: 10,
retryDelayOptions: {
customBackoff: () => 20000 // constant backoff - https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/Config.html#retryDelayOptions-property
},
httpOptions: {
connectTimeout: 20000, // https://github.com/aws/aws-sdk-js/pull/1446
timeout: 3000 * 1000 // https://github.com/aws/aws-sdk-js/issues/1704 (allow chunk upload to take upto 30 minutes)
timeout: 0 // https://github.com/aws/aws-sdk-js/issues/1704 (allow unlimited time for chunk upload)
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment