Skip to content

Commit

Permalink
Remove idle hosts config
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoniosBarotsis committed Dec 10, 2024
1 parent 31a4e27 commit ebf35ce
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ impl Resend {
///
/// [`Resend`]: https://resend.com
pub fn new(api_key: &str) -> Self {
Self::with_client(api_key, ReqwestClient::builder().pool_max_idle_per_host(0).build().unwrap())
// Self::with_client(api_key, ReqwestClient::default())
Self::with_client(api_key, ReqwestClient::default())
}

/// Creates a new [`Resend`] client with a provided [`reqwest::Client`].
Expand Down

0 comments on commit ebf35ce

Please sign in to comment.