1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-09-27 22:58:19 +00:00

Temporarily Disable SSE

This commit is contained in:
Jeremy Ruston 2024-05-22 10:33:35 +01:00
parent 87f4a525f8
commit 3c7f06009b
2 changed files with 9 additions and 1 deletions

View File

@ -126,6 +126,14 @@ MultiWikiClientAdaptor.prototype.getStatus = function(callback) {
Get details of changed tiddlers from the server
*/
MultiWikiClientAdaptor.prototype.getUpdatedTiddlers = function(syncer,callback) {
// Temporary override to disable SSE
this.pollServer({
callback: function(err,changes) {
callback(null,changes);
}
});
return;
// Disabled SSE code
var self = this;
// Do nothing if there's already a connection in progress.
if(this.serverUpdateConnectionStatus !== SERVER_NOT_CONNECTED) {

View File

@ -2,4 +2,4 @@ title: $:/plugins/multiwikiclient/SideBarSegment
tags: $:/tags/SideBarSegment
list-before: $:/core/ui/SideBarSegments/page-controls
MWS Connection Status: {{$:/state/multiwikiclient/connection}}
<!-- MWS Connection Status: {{$:/state/multiwikiclient/connection}} -->