Доработки

This commit is contained in:
Book Pauk
2022-10-26 21:31:29 +07:00
parent 491c2f3406
commit 2509b0f742
2 changed files with 62 additions and 60 deletions

View File

@@ -199,7 +199,7 @@ class WebWorker {
//откроем таблицу 'author' с бОльшим размером кеша блоков, для ускорения выборки
await db.open({table: 'author', cacheSize: (config.dbCacheSize > 100 ? config.dbCacheSize : 100)});
if (!config.extendedSearch)
if (config.extendedSearch)
await db.open({table: 'title_book'});
this.dbSearcher = new DbSearcher(config, db);