web search done right
crawldb cache size to 64 kb (some guy on hackernews uses this as default)
Mikkel Denkerf64b89bc7b02
diff --git a/core/src/crawler/crawl_db.rs b/core/src/crawler/crawl_db.rsindex a307ba73..f26e13ba 100644--- a/core/src/crawler/crawl_db.rs+++ b/core/src/crawler/crawl_db.rs@@ -164,6 +164,9 @@ impl CrawlDb {// store temp tables in memoryconn.pragma_update(None, "temp_store", 2)?;+ // set cache size to 64 MB+ conn.pragma_update(None, "cache_size", -64_000)?; // negative value means kilobytes (https://www.sqlite.org/pragma.html#pragma_cache_size)+rusqlite::vtab::array::load_module(&conn)?;Ok(Self { conn })