Skip to content

Commit

Permalink
💄 cargo fmt && cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Aitthi committed Sep 30, 2024
1 parent 098047b commit 3cd4eea
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/proxy/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ impl EasyProxy {
conf.upstream_keepalive_pool_size = upstream_keepalive_pool_size;
}
conf.grace_period_seconds = app_conf.pingora.grace_period_seconds.or(Some(1));
conf.graceful_shutdown_timeout_seconds = app_conf.pingora.graceful_shutdown_timeout_seconds.or(Some(1));
conf.graceful_shutdown_timeout_seconds = app_conf
.pingora
.graceful_shutdown_timeout_seconds
.or(Some(1));
// println!("{:#?}", conf);
pingora_server.configuration = conf.into();
let mut pingora_svc =
Expand Down

0 comments on commit 3cd4eea

Please sign in to comment.