mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-03-31 09:05:33 +00:00
clean up nonexistent ban entries from the memory pool
This commit is contained in:
parent
080eaf43d7
commit
8c4698f781
1 changed files with 3 additions and 0 deletions
|
|
@ -89,6 +89,9 @@ async fn main() -> Result<()> {
|
|||
}
|
||||
}
|
||||
|
||||
// clean up nonexistent ban entries from the memory pool
|
||||
ban.retain(|i| queue.contains(i));
|
||||
|
||||
// handle
|
||||
log::debug!(
|
||||
"fetched {} unique hashes from {} source, banned: {}.",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue