mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 01:06:36 +01:00
added sync mutex to ping messages
This commit is contained in:
@@ -97,6 +97,8 @@ class TreeCache {
|
||||
const missingNoteIds = noteIds.filter(noteId => this.notes[noteId] === undefined);
|
||||
|
||||
if (missingNoteIds.length > 0) {
|
||||
console.trace("Refreshing", missingNoteIds);
|
||||
|
||||
const resp = await server.post('tree/load', { noteIds: missingNoteIds });
|
||||
|
||||
this.addResp(resp.notes, resp.branches, resp.relations);
|
||||
|
||||
Reference in New Issue
Block a user