Increased timeout and retries on S3 config

This commit is contained in:
Stefan Zermatten
2022-07-26 11:53:18 +02:00
parent 2b8f7e4927
commit d44d4e0315

View File

@@ -1,5 +1,4 @@
// https://github.com/VeliovGroup/Meteor-Files/blob/master/docs/aws-s3-integration.md
import { Meteor } from 'meteor/meteor';
import { each, clone } from 'lodash';
import { Random } from 'meteor/random';
@@ -37,8 +36,9 @@ if (Meteor.isServer && Meteor.settings.useS3) {
secretAccessKey: s3Conf.secret,
endpoint: s3Conf.endpoint,
sslEnabled: true, // optional
maxRetries: 10,
httpOptions: {
timeout: 6000,
timeout: 12000,
agent: false
}
});