Fix: Split mempool disk cache into 50K txs per file

This commit is contained in:
softsimon
2020-11-02 19:11:04 +07:00
parent 812a278537
commit e8a99e7eef
4 changed files with 48 additions and 57 deletions

View File

@@ -99,7 +99,7 @@ class Blocks {
if (this.newBlockCallbacks.length) {
this.newBlockCallbacks.forEach((cb) => cb(block, txIds, transactions));
}
diskCache.$saveCacheToDiskAsync();
diskCache.$saveCacheToDisk();
}
}