Skip to content

Commit

Permalink
fix(storage): disable stalled stream protection for aws-sdk-s3 (#16170)
Browse files Browse the repository at this point in the history
Signed-off-by: MrCroxx <[email protected]>
  • Loading branch information
MrCroxx authored Apr 7, 2024
1 parent b899639 commit cf2dfd0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/object_store/src/object/s3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,9 @@ impl S3ObjectStore {
))
.build(),
)
.stalled_stream_protection(
aws_sdk_s3::config::StalledStreamProtectionConfig::disabled(),
)
.build(),
);
client
Expand All @@ -621,6 +624,9 @@ impl S3ObjectStore {
))
.build(),
)
.stalled_stream_protection(
aws_sdk_s3::config::StalledStreamProtectionConfig::disabled(),
)
.build(),
);
client
Expand Down Expand Up @@ -681,7 +687,8 @@ impl S3ObjectStore {
.build(),
)
.http_client(Self::new_http_client(&s3_object_store_config))
.behavior_version_latest();
.behavior_version_latest()
.stalled_stream_protection(aws_sdk_s3::config::StalledStreamProtectionConfig::disabled());
let config = builder
.region(Region::new("custom"))
.endpoint_url(format!("{}{}", endpoint_prefix, address))
Expand Down

0 comments on commit cf2dfd0

Please sign in to comment.