Небольшая доработка periodicCleanCache
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user