This commit is contained in:
jpirnay
2026-03-04 09:46:00 +01:00
parent 9b819b99d4
commit 1516c51e14
+1 -1
View File
@@ -521,7 +521,7 @@ bool TxtReaderActivity::loadPageIndexCache() {
uint32_t numPages; uint32_t numPages;
serialization::readPod(f, numPages); serialization::readPod(f, numPages);
if (numPages > MAX_CACHE_PAGES) { if (numPages > MAX_CACHE_PAGES) {
LOG_WRN("TRS", "Cache numPages %u exceeds cap %u, truncating", numPages, MAX_CACHE_PAGES); LOG_ERR("TRS", "Cache numPages %u exceeds cap %u, truncating", numPages, MAX_CACHE_PAGES);
numPages = MAX_CACHE_PAGES; numPages = MAX_CACHE_PAGES;
} }