wansfa 1 year ago
parent
commit
ef98e6d0b7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/utils/webSocket.js

+ 2 - 2
src/utils/webSocket.js

@@ -63,8 +63,8 @@ export default {
                 this.aSoket=new WebsocketHeartbeat({
                     url: aServer+uid,
                     userId:"u:"+uid,
-                    pingTimeout: 20000,
-                    pongTimeout: 15000
+                    pingTimeout: 15000,
+                    pongTimeout: 10000
                 });
             }