RequestServer: Do not log disk cache version mismatches on first-run

Particularly on test runs, this is just noise.
This commit is contained in:
Timothy Flynn 2025-11-20 15:11:01 -05:00 committed by Jelle Raaijmakers
parent 2a18b6b802
commit 4fddd6a681
Notes: github-actions[bot] 2025-11-21 07:50:04 +00:00

View file

@ -67,6 +67,7 @@ ErrorOr<CacheIndex> CacheIndex::create(Database::Database& database)
CACHE_METADATA_KEY);
if (cache_version != CACHE_VERSION) {
if (cache_version != 0)
dbgln("\033[31;1mDisk cache version mismatch:\033[0m stored version = {}, new version = {}", cache_version, CACHE_VERSION);
// FIXME: We should more elegantly handle minor changes, i.e. use ALTER TABLE to add fields to CacheIndex.