mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-16 18:57:47 -05:00
no retry for upload
This commit is contained in:
@@ -29,7 +29,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: 2,
|
maxAttempts: 1,
|
||||||
});
|
});
|
||||||
|
|
||||||
exports.upload = async function (req, res, next) {
|
exports.upload = async function (req, res, next) {
|
||||||
|
|||||||
Reference in New Issue
Block a user