mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
增加nedb数据自定比对,测试对db文件不断增大的影响
This commit is contained in:
@@ -13,6 +13,7 @@ export default class OpenService {
|
||||
this.appDb.loadDatabase((err) => {
|
||||
if (err) throw err;
|
||||
});
|
||||
this.appDb.persistence.setAutocompactionInterval(30000);
|
||||
}
|
||||
|
||||
public getDb(): DataStore {
|
||||
|
||||
Reference in New Issue
Block a user