add debug message

This commit is contained in:
yggverse 2025-08-19 02:29:41 +03:00
parent 8c4698f781
commit 2fafe010a4

View file

@ -90,7 +90,16 @@ async fn main() -> Result<()> {
}
// clean up nonexistent ban entries from the memory pool
ban.retain(|i| queue.contains(i));
ban.retain(|i| {
let is_keep = queue.contains(i);
if !is_keep {
log::debug!(
"remove `{}` from the ban list, as it is no longer available in the source.",
i.as_string()
)
}
is_keep
});
// handle
log::debug!(