chore: refactor dynamic reloading

This commit is contained in:
Jun Kurihara 2024-07-27 04:38:25 +09:00
commit 3b918af40b
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
6 changed files with 54 additions and 66 deletions

View file

@ -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 = 15;
#[cfg(feature = "cache")]
// Cache directory