mirror of
https://github.com/zadam/trilium.git
synced 2025-11-04 20:36:13 +01:00
broadcast messages to all clients, send also number of outstanding syncs
This commit is contained in:
@@ -165,5 +165,8 @@ ws.onmessage = function (event) {
|
||||
|
||||
noteEditor.reload();
|
||||
}
|
||||
|
||||
const changesToPushCountEl = $("#changesToPushCount");
|
||||
changesToPushCountEl.html(message.changesToPushCount);
|
||||
}
|
||||
};
|
||||
@@ -38,10 +38,10 @@ const status = (function() {
|
||||
// noteEditor.reload();
|
||||
// }
|
||||
|
||||
changesToPushCountEl.html(resp.changesToPushCount);
|
||||
//changesToPushCountEl.html(resp.changesToPushCount);
|
||||
}
|
||||
|
||||
setInterval(checkStatus, 5 * 1000);
|
||||
//setInterval(checkStatus, 5 * 1000);
|
||||
|
||||
return {
|
||||
checkStatus
|
||||
|
||||
Reference in New Issue
Block a user