fix: redesigned graceful shutdown for config update
This commit is contained in:
parent
8d9f07a848
commit
48b33409f9
4 changed files with 213 additions and 197 deletions
|
|
@ -1,6 +1,6 @@
|
|||
pub const LISTEN_ADDRESSES_V4: &[&str] = &["0.0.0.0"];
|
||||
pub const LISTEN_ADDRESSES_V6: &[&str] = &["[::]"];
|
||||
pub const CONFIG_WATCH_DELAY_SECS: u32 = 20;
|
||||
pub const CONFIG_WATCH_DELAY_SECS: u32 = 2;
|
||||
|
||||
#[cfg(feature = "cache")]
|
||||
// Cache directory
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue