diff --git a/server/core/DbSearcher.js b/server/core/DbSearcher.js index 09e2472..58f685e 100644 --- a/server/core/DbSearcher.js +++ b/server/core/DbSearcher.js @@ -317,6 +317,8 @@ class DbSearcher { async periodicCleanCache() { this.timer = null; const cleanInterval = this.config.cacheCleanInterval*60*1000; + if (!cleanInterval) + return; try { const db = this.db;