This commit is contained in:
caozehui
2026-06-01 11:09:32 +08:00
parent 633b6ffd29
commit 8d377dfed7

View File

@@ -193,7 +193,7 @@ export default class SocketService {
*/ */
private config: SocketConfig = { private config: SocketConfig = {
// url: 'ws://127.0.0.1:7778/hello', // url: 'ws://127.0.0.1:7778/hello',
url: 'ws://127.0.0.1:7777/hello', url: 'ws://127.0.0.1:7778/hello',
heartbeatInterval: 9000, // 9秒心跳间隔 heartbeatInterval: 9000, // 9秒心跳间隔
reconnectDelay: 5000, // 5秒重连延迟 reconnectDelay: 5000, // 5秒重连延迟
maxReconnectAttempts: 5, // 最多重连5次 maxReconnectAttempts: 5, // 最多重连5次