mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-04-01 17:45:39 +00:00
update cleanup function api
This commit is contained in:
parent
8e8b60fe31
commit
279c5217da
2 changed files with 6 additions and 5 deletions
|
|
@ -126,7 +126,7 @@ async fn main() -> Result<()> {
|
|||
.await?;
|
||||
// cleanup irrelevant files (see rqbit#408)
|
||||
if let Some(ref r) = arg.preload_regex {
|
||||
storage.purge_preload_regex(&i, r)?;
|
||||
storage.cleanup(&i, r)?;
|
||||
}
|
||||
// ignore on the next crawl iterations for this session
|
||||
index.insert(mt.info_hash().as_string());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue