hjr3 / weldr

A HTTP 1.1 proxy written in Rust using tokio.
Apache License 2.0
218 stars 20 forks source link

Make health check timer configurable #93

Closed hjr3 closed 7 years ago

hjr3 commented 7 years ago

The code in health.rs does a check every 5 seconds. We should make it configurable.

Note: While we are waiting on a configuration file format, we can set the value in src/alacrity.rs or something. The important part is that the health check code is not hardcoding the value.

maniankara commented 7 years ago

@hjr3 something like this simple may be?

hjr3 commented 7 years ago

Fixed in https://github.com/hjr3/weldr/pull/99