mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-03-31 17:15:35 +00:00
update var name
This commit is contained in:
parent
2fafe010a4
commit
0c968e029b
1 changed files with 3 additions and 3 deletions
|
|
@ -91,14 +91,14 @@ async fn main() -> Result<()> {
|
||||||
|
|
||||||
// clean up nonexistent ban entries from the memory pool
|
// clean up nonexistent ban entries from the memory pool
|
||||||
ban.retain(|i| {
|
ban.retain(|i| {
|
||||||
let is_keep = queue.contains(i);
|
let is_retain = queue.contains(i);
|
||||||
if !is_keep {
|
if !is_retain {
|
||||||
log::debug!(
|
log::debug!(
|
||||||
"remove `{}` from the ban list, as it is no longer available in the source.",
|
"remove `{}` from the ban list, as it is no longer available in the source.",
|
||||||
i.as_string()
|
i.as_string()
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
is_keep
|
is_retain
|
||||||
});
|
});
|
||||||
|
|
||||||
// handle
|
// handle
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue