Skip to content

Commit

Permalink
increase idle timeout 10->15 sec
Browse files Browse the repository at this point in the history
Signed-off-by: Vladimir Zhuk <[email protected]>
  • Loading branch information
vladimir-dd committed Oct 20, 2021
1 parent f38cdb9 commit ee46a62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sinks/s3_common/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ pub fn create_client(
proxy,
// S3 closes idle connections after 20 seconds,
// so we can close idle connections ahead of time to prevent re-using them
client::Client::builder().pool_idle_timeout(Duration::from_secs(10)),
client::Client::builder().pool_idle_timeout(Duration::from_secs(15)),
)?;

let creds = auth.build(&region, assume_role)?;
Expand Down

0 comments on commit ee46a62

Please sign in to comment.