Explorar el Código

延长websocket断线重连间隔

lighter hace 4 años
padre
commit
0bf096d863
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/utils/websocket.js

+ 1 - 1
src/utils/websocket.js

@@ -45,7 +45,7 @@ export function initWebSocket() {
     }
     setTimeout(() => {
       initWebSocket()
-    }, 1000)
+    }, 10 * 1000)
   }
 
   webSocket.onerror = function () {