From 59405650390f4dc2c90474c5c84c3b3d92aa4d98 Mon Sep 17 00:00:00 2001 From: Luke Berndt Date: Thu, 8 Feb 2024 06:59:37 -0500 Subject: [PATCH] increase the S3 retry attempts to 3 --- 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 206688c..b7cb349 100644 --- a/backend/controllers/uploads.js +++ b/backend/controllers/uploads.js @@ -22,7 +22,7 @@ const client = new S3Client({ credentials: fromIni({ profile: s3_profile }), endpoint: s3_endpoint, region: s3_region, - maxAttempts: 1 + maxAttempts: 3 }); exports.upload = async function (req, res, next) {