store index values in memory only in use by the argument options

This commit is contained in:
yggverse 2025-07-07 02:42:05 +03:00
parent 39e717ec04
commit e5e4dd0ae6
2 changed files with 7 additions and 3 deletions

View file

@ -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();