Sfoglia il codice sorgente

refactor(student): remove unused resyncInterval comment

删除了未使用的 resyncInterval 配置项的注释,该配置项已被注释掉,避免代码中存在无效注释
lsc 11 ore fa
parent
commit
459642c12b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/views/Student/index.vue

+ 1 - 1
src/views/Student/index.vue

@@ -4398,7 +4398,7 @@ const createWebSocketConnection = async (type = 1) => {
       docSocket.value,
       {
         params: { yauth: authToken.value },
-        resyncInterval: 5000, // 每 5 秒用标准协议请求服务器状态(代替畸形心跳)
+        // resyncInterval: 5000, // 每 5 秒用标准协议请求服务器状态(代替畸形心跳)
         maxBackoffTime: 5000, // 重连最长退避 5 秒
       }
     )