global: better caching

This commit is contained in:
nym21
2026-03-23 16:07:47 +01:00
parent c53c6560fa
commit f495451b34
9 changed files with 113 additions and 9 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ impl Server {
query: query.clone(),
data_path,
website,
cache: Arc::new(Cache::new(5_000)),
cache: Arc::new(Cache::new(1_000)),
started_at: jiff::Timestamp::now(),
started_instant: Instant::now(),
})