mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-16 10:47:32 -05:00
increase the S3 retry attempts to 3
This commit is contained in:
@@ -22,7 +22,7 @@ const client = new S3Client({
|
|||||||
credentials: fromIni({ profile: s3_profile }),
|
credentials: fromIni({ profile: s3_profile }),
|
||||||
endpoint: s3_endpoint,
|
endpoint: s3_endpoint,
|
||||||
region: s3_region,
|
region: s3_region,
|
||||||
maxAttempts: 1
|
maxAttempts: 3
|
||||||
});
|
});
|
||||||
|
|
||||||
exports.upload = async function (req, res, next) {
|
exports.upload = async function (req, res, next) {
|
||||||
|
|||||||
Reference in New Issue
Block a user