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 () {