Change log level for GuardDrop error (#8305)

The error means that manager exited earlier than `ResidenceGuard` and
it's not unexpected with current deletion implementation. This commit
changes log level to reduse noise.
This commit is contained in:
Arthur Petukhovsky
2024-07-18 17:26:27 +01:00
committed by GitHub
parent 841b76ea7c
commit 5a772761ee

View File

@@ -4,7 +4,7 @@
use std::collections::HashSet;
use tracing::{debug, warn};
use tracing::debug;
use crate::timeline_manager::ManagerCtlMessage;
@@ -23,7 +23,7 @@ impl Drop for ResidenceGuard {
.manager_tx
.send(ManagerCtlMessage::GuardDrop(self.guard_id));
if let Err(e) = res {
warn!("failed to send GuardDrop message: {:?}", e);
debug!("failed to send GuardDrop message: {:?}", e);
}
}
}