Disable the timeout altogether for chunk to upload
This commit is contained in:
@@ -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)
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user