Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
yorhodes committed Jun 13, 2023
1 parent fc58a07 commit 70d87ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rust/hyperlane-base/src/settings/signers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::time::Duration;
use async_trait::async_trait;
use ethers::prelude::{AwsSigner, LocalWallet};
use eyre::{bail, eyre, Context, Report};
use rusoto_core::{HttpClient, Region, HttpConfig};
use rusoto_core::{HttpClient, HttpConfig, Region};
use rusoto_kms::KmsClient;
use serde::Deserialize;
use tracing::instrument;
Expand Down Expand Up @@ -107,6 +107,7 @@ impl BuildableWithSignerConf for hyperlane_ethereum::Signers {
)),
SignerConf::Aws { id, region } => {
let mut config = HttpConfig::new();
// see https://github.com/hyperium/hyper/issues/2136#issuecomment-589345238
config.pool_idle_timeout(Duration::from_secs(20));
let client = KmsClient::new_with_client(
rusoto_core::Client::new_with(
Expand Down

0 comments on commit 70d87ab

Please sign in to comment.