Skip to content

Commit 397ae58

Browse files
committed
retry S3 requests more often
1 parent a7af8da commit 397ae58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/storage/s3.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ impl S3Backend {
3737
) -> Result<Self, Error> {
3838
let shared_config = runtime.block_on(aws_config::load_from_env());
3939
let mut config_builder = aws_sdk_s3::config::Builder::from(&shared_config)
40-
.retry_config(RetryConfig::standard().with_max_attempts(3))
40+
.retry_config(RetryConfig::standard().with_max_attempts(6))
4141
.region(Region::new(config.s3_region.clone()));
4242

4343
if let Some(ref endpoint) = config.s3_endpoint {

0 commit comments

Comments
 (0)