Skip to content

Commit

Permalink
increased keep_alive to 30s
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Jul 11, 2024
1 parent 2576e9b commit efbece6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/main-api/src/calendar/connectum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ impl fmt::Debug for APIRequestor {

impl From<&PgPool> for APIRequestor {
fn from(pool: &PgPool) -> Self {
let keep_alive = Duration::from_secs(2);
let keep_alive = Duration::from_secs(30);
let client = reqwest::Client::builder()
.tcp_keepalive(keep_alive)
.http2_keep_alive_while_idle(true)
Expand Down

0 comments on commit efbece6

Please sign in to comment.