From 9a9f94bd997319d85b56f39bf37b40270451ec65 Mon Sep 17 00:00:00 2001 From: Luke Berndt Date: Fri, 6 Sep 2024 11:13:03 -0400 Subject: [PATCH] no retry for upload --- backend/controllers/uploads.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/controllers/uploads.js b/backend/controllers/uploads.js index d53236e..ed31ad2 100644 --- a/backend/controllers/uploads.js +++ b/backend/controllers/uploads.js @@ -29,7 +29,7 @@ const client = new S3Client({ credentials: fromIni({ profile: s3_profile }), endpoint: s3_endpoint, region: s3_region, - maxAttempts: 2, + maxAttempts: 1, }); exports.upload = async function (req, res, next) {