1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-02 22:49:09 +02:00

All: Add support for sync target lock

The goal is to allow locking a sync target so that maintenance
operations, such as upgrading the target to a more efficient format,
can be done. For now, only the lock mechanism is in place, as a way to
evaluate it, and to see if it can cause any issue.
This commit is contained in:
Laurent Cozic
2020-07-10 23:42:03 +01:00
parent 003ead2511
commit 51235f191d
16 changed files with 522 additions and 87 deletions

View File

@@ -111,7 +111,7 @@ class FileApiDriverMemory {
this.items_.push(item);
} else {
this.items_[index].content = this.encodeContent_(content);
this.items_[index].updated_time = time.unix();
this.items_[index].updated_time = time.unixMs();
}
}