Commit graph

6 commits

Author SHA1 Message Date
ded9b6d464
cache: include nar_url in ListRecentRoutes; test expired TTL in GetRouteByNarURL
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I952d08726f34d0d9b7c4c1880d60222c6a6a6964
2026-04-05 22:48:04 +03:00
2ae611b916
cache: store narinfo URL for direct NAR routing
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Idede08311b5b074887768e54d96c8a566a6a6964
2026-04-05 22:48:03 +03:00
8f949215bb
cache: test IsNegative SQL time predicate independently of ExpireNegatives
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ia298cc902d972a589d47de247e447d686a6a6964
2026-04-05 22:48:02 +03:00
b0ea022dc2
cache: add negative cache; router: skip race for cached 404s
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ibeb44b313850395898bb20f2d947b0b76a6a6964
2026-04-05 22:48:01 +03:00
91ffc0eadd
tests: add edge cases for server, router, cache, and prober priority
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I05b19092cee63f8efca7cb62655880286a6a6964
2026-03-15 11:01:41 +03:00
663f9995b2
cache: add SQLite route persistence; initial TTL and LRU eviction implementation
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I0370d6c114d5490634905c1a831a31526a6a6964
2026-03-15 11:01:26 +03:00