Преглед на файлове

refactor(student): remove unused websocket timeout configuration

removed the unnecessary timeout parameter from the websocket connection options, as it is no longer needed for the current implementation. this cleanup reduces redundant configuration without affecting functionality.
lsc преди 2 седмици
родител
ревизия
8598141793
променени са 1 файла, в които са добавени 0 реда и са изтрити 1 реда
  1. 0 1
      src/views/Student/index.vue

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

@@ -4297,7 +4297,6 @@ const createWebSocketConnection = async (type = 1) => {
       {
         params: { yauth: authToken.value },
         maxBackoffTime: 5000, // 重连最长等 5 秒
-        timeout: 30000 // 连接超时时间(30秒)
       }
     )
     providerSocket.value.awareness.setLocalState(null)