Skip to content

Commit

Permalink
disable StalledStreamProtection
Browse files Browse the repository at this point in the history
  • Loading branch information
kobayurii committed Jan 8, 2025
1 parent 7e5becb commit 8edbb2b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions configuration/src/configs/tx_details_storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,13 @@ impl TxDetailsStorageConfig {
);

// Build AWS SDK config
let mut s3_conf = aws_sdk_s3::Config::builder()
.region(region)
.credentials_provider(credentials);
let mut s3_conf =
aws_sdk_s3::Config::builder()
.stalled_stream_protection(
aws_sdk_s3::config::StalledStreamProtectionConfig::disabled(),
)
.region(region)
.credentials_provider(credentials);

// Override S3 endpoint in case you want to use custom solution
if let Some(s3_endpoint) = self.endpoint.clone() {
Expand Down

0 comments on commit 8edbb2b

Please sign in to comment.