mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
progress of tar import through WS
This commit is contained in:
@@ -132,7 +132,7 @@ async function pullSync(syncContext) {
|
||||
}
|
||||
|
||||
log.info("Pulled " + rows.length + " changes from " + changesUri + " in "
|
||||
+ (new Date().getTime() - startDate.getTime()) + "ms");
|
||||
+ (Date.now() - startDate.getTime()) + "ms");
|
||||
|
||||
for (const {sync, entity} of rows) {
|
||||
if (!sourceIdService.isLocalSourceId(sync.sourceId)) {
|
||||
@@ -194,7 +194,7 @@ async function pushSync(syncContext) {
|
||||
entities: syncRecords
|
||||
});
|
||||
|
||||
log.info(`Pushing ${syncRecords.length} syncs in ` + (new Date().getTime() - startDate.getTime()) + "ms");
|
||||
log.info(`Pushing ${syncRecords.length} syncs in ` + (Date.now() - startDate.getTime()) + "ms");
|
||||
|
||||
lastSyncedPush = syncRecords[syncRecords.length - 1].sync.id;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user