diff --git a/src/client/app/ipc/index.js b/src/client/app/ipc/index.js index 4ae293a5..67282892 100644 --- a/src/client/app/ipc/index.js +++ b/src/client/app/ipc/index.js @@ -8,9 +8,9 @@ setTimeout(()=>{ locales = require('../locales') }) -var reconnectTimeout = 1000, - hearbeatInterval = 2000, - hearbeatTimeout = 1000, +var reconnectTimeout = 2000, + hearbeatInterval = 5000, + hearbeatTimeout = 3000, protocol = document.location.protocol === 'https:' ? 'wss://' : 'ws://' class Ipc extends EventEmitter {