core-3nweb-client-lib 0.35.3 → 0.35.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -100,7 +100,7 @@ class RecordsInSQL {
|
|
|
100
100
|
key, keyStatus,
|
|
101
101
|
mainObjHeaderOfs, removeAfter
|
|
102
102
|
}));
|
|
103
|
-
await db.saveToFile();
|
|
103
|
+
await db.saveToFile({ skipUpload: true });
|
|
104
104
|
}
|
|
105
105
|
async saveLatestWithAttr() {
|
|
106
106
|
// XXX
|
|
@@ -137,7 +137,7 @@ class RecordsInSQL {
|
|
|
137
137
|
const deliveryTS = findMsgAndGetDeliveryTS(db.db, msgId);
|
|
138
138
|
if (deliveryTS) {
|
|
139
139
|
deleteMsgFrom(db.db, msgId);
|
|
140
|
-
await db.saveToFile();
|
|
140
|
+
await db.saveToFile({ skipUpload: true });
|
|
141
141
|
return deliveryTS;
|
|
142
142
|
}
|
|
143
143
|
}
|
|
@@ -231,7 +231,7 @@ class SqliteFiles {
|
|
|
231
231
|
const dbFile = await this.dbsFS.writableFile(LATEST_DB, { create: true, exclusive: true });
|
|
232
232
|
const latest = await lib_sqlite_on_3nstorage_1.SQLiteOn3NStorage.makeAndStart(dbFile);
|
|
233
233
|
latest.db.run(createIndexTab);
|
|
234
|
-
await latest.saveToFile();
|
|
234
|
+
await latest.saveToFile({ skipUpload: true });
|
|
235
235
|
return latest;
|
|
236
236
|
}
|
|
237
237
|
}
|