diff options
Diffstat (limited to '')
-rw-r--r-- | public/js/index.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/public/js/index.js b/public/js/index.js index 5ff716fd..096f7fde 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -1762,6 +1762,9 @@ window.havePermission = havePermission var io = require('socket.io-client') var socket = io.connect({ path: urlpath ? '/' + urlpath + '/socket.io/' : '', + query: { + noteId: noteid + }, timeout: 5000, // 5 secs to timeout, reconnectionAttempts: 20 // retry 20 times on connect failed }) |