wansfa 1 năm trước cách đây
mục cha
commit
ef98e6d0b7
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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
                 });
             }