wansfa 1 년 전
부모
커밋
75a5044c11
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/utils/webSocket.js

+ 2 - 2
src/utils/webSocket.js

@@ -23,8 +23,8 @@ export default {
                 this.socket=new WebsocketHeartbeat({
                     url: server+uid,
                     userId:'r:'+uid,
-                    pingTimeout: 60000,
-                    pongTimeout: 50000
+                    pingTimeout: 15000,
+                    pongTimeout: 10000
                 });
                 let that=this;
                 // this.socket.onopen = function () {