mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-03-31 09:05:33 +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
|
||||
ban.retain(|i| {
|
||||
let is_keep = queue.contains(i);
|
||||
if !is_keep {
|
||||
let is_retain = queue.contains(i);
|
||||
if !is_retain {
|
||||
log::debug!(
|
||||
"remove `{}` from the ban list, as it is no longer available in the source.",
|
||||
i.as_string()
|
||||
)
|
||||
}
|
||||
is_keep
|
||||
is_retain
|
||||
});
|
||||
|
||||
// handle
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue