Skip to content

Commit

Permalink
increased health check interval to 1 hr
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilsinhaparseable authored Jun 6, 2024
1 parent a8a1452 commit 96984e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {

let hc = health_check::TcpHealthCheck::new();
upstreams.set_health_check(hc);
upstreams.health_check_frequency = Some(Duration::from_secs(1));
upstreams.health_check_frequency = Some(Duration::from_secs(3600));

let background = background_service("health check", upstreams);

Expand Down

0 comments on commit 96984e2

Please sign in to comment.