Ускорение выборки из author
This commit is contained in:
@@ -172,6 +172,9 @@ class WebWorker {
|
|||||||
|
|
||||||
//открываем все таблицы
|
//открываем все таблицы
|
||||||
await db.openAll();
|
await db.openAll();
|
||||||
|
//переоткроем таблицу 'author' с бОльшим размером кеша блоков, для ускорения выборки
|
||||||
|
await db.close({table: 'author'});
|
||||||
|
await db.open({table: 'author', cacheSize: 100});
|
||||||
|
|
||||||
this.dbSearcher = new DbSearcher(config, db);
|
this.dbSearcher = new DbSearcher(config, db);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user