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