fix(#1375): clean up pedantic warnings and re-enable -D warnings without pedantic bypass
This commit is contained in:
parent
da7f1d6c45
commit
fb726197ea
28 changed files with 109 additions and 90 deletions
|
|
@ -228,9 +228,9 @@ pub async fn write(names: &[String]) -> Result<()> {
|
|||
/// (gateway container temporarily down, systemd-run error) is
|
||||
/// recovered automatically without requiring a new file write.
|
||||
///
|
||||
/// Backs off to one retry per [`RELOAD_RETRY_SECS`] after a failure so a
|
||||
/// Backs off to one retry per `RELOAD_RETRY_SECS` after a failure so a
|
||||
/// permanently broken gateway doesn't hammer `systemctl` on every tick.
|
||||
/// A fresh `write()` call always resets the backoff (new RELOAD_PENDING
|
||||
/// A fresh `write()` call always resets the backoff (new `RELOAD_PENDING`
|
||||
/// set to `true` + immediate attempt) so topology changes are still
|
||||
/// applied promptly.
|
||||
pub async fn reload_if_pending() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue