Skip to content

Commit 4cadbb2

Browse files
nipunn1313Convex, Inc.
authored andcommitted
Up the retries for aws storage (#43432)
GitOrigin-RevId: a7b347f83c0d35916a05f159db96897c1307df48
1 parent 4ac53d8 commit 4cadbb2

File tree

1 file changed

+1
-1
lines changed
  • crates/aws_utils/src

1 file changed

+1
-1
lines changed

crates/aws_utils/src/s3.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ static S3_TRASH_FOLDER: &str = ".trash/";
2828
impl S3Client {
2929
pub async fn new(enable_retries: bool) -> anyhow::Result<Self> {
3030
let retry_config = match enable_retries {
31-
true => RetryConfig::standard(),
31+
true => RetryConfig::standard().with_max_attempts(6),
3232
false => RetryConfig::disabled(),
3333
};
3434
let config = must_s3_config_from_env()

0 commit comments

Comments
 (0)