Skip to content

Commit df46038

Browse files
committed
Auto merge of #683 - Mark-Simulacrum:s3-retries, r=Mark-Simulacrum
Enable retries for S3 client https://github.com/awslabs/aws-sdk-rust/releases/tag/release-2022-09-21
2 parents 1814fe7 + 5126ac3 commit df46038

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/server/reports.rs

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
use aws_sdk_s3::config::retry::RetryConfig;
2+
13
use crate::experiments::{Experiment, Status};
24
use crate::prelude::*;
35
use crate::report::{self, Comparison, TestResults};
@@ -31,6 +33,7 @@ fn generate_report(data: &Data, ex: &Experiment, results: &DatabaseDB) -> Fallib
3133
config.set_sleep_impl(Some(Arc::new(
3234
aws_smithy_async::rt::sleep::TokioSleep::new(),
3335
)));
36+
config.set_retry_config(Some(RetryConfig::standard()));
3437
let config = config.build();
3538
let client = aws_sdk_s3::Client::new(&config);
3639
let writer = report::S3Writer::create(

0 commit comments

Comments
 (0)