mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-03-31 17:15:35 +00:00
store index values in memory only in use by the argument options
This commit is contained in:
parent
39e717ec04
commit
e5e4dd0ae6
2 changed files with 7 additions and 3 deletions
|
|
@ -64,7 +64,7 @@ async fn main() -> Result<()> {
|
|||
|
||||
// begin
|
||||
debug.info("Crawler started");
|
||||
let mut index = Index::init(config.index_capacity);
|
||||
let mut index = Index::init(config.index_capacity, config.export_rss.is_some());
|
||||
loop {
|
||||
debug.info("Index queue begin...");
|
||||
index.refresh();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue