liming hai 4 días
pai
achega
fdde3af455
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/stores/modules/webSocketStore.js

+ 1 - 1
src/stores/modules/webSocketStore.js

@@ -21,7 +21,7 @@ export const useWebSocketStore = defineStore("webSocketStore", {
     peer: null, // peer实例
     lockConnection: false, // 锁定连接
     reconnectAttempts: 0, // 重连次数
-    maxReconnectAttempts: 5, // 最大重连次数
+    maxReconnectAttempts: 10, // 最大重连次数
     reconnectInterval: 3000, // 重连间隔
     messages: [], // 消息列表
     toUserInfo: {},