correct saving jsonl data

This commit is contained in:
Jan Prochazka
2023-02-10 11:37:18 +01:00
parent cc9402dd84
commit dd46604069
4 changed files with 16 additions and 1 deletions

View File

@@ -113,6 +113,14 @@ module.exports = {
return datastore;
},
async closeDataStore(jslid) {
const datastore = this.datastores[jslid];
if (datastore) {
await datastore._closeReader();
delete this.datastores[jslid];
}
},
getInfo_meta: true,
async getInfo({ jslid }) {
const file = getJslFileName(jslid);