From 322c81fb45e6c1d35cf3d83ff56800c17564babd Mon Sep 17 00:00:00 2001 From: joylink_zhaoerwei Date: Tue, 19 Dec 2023 13:13:50 +0800 Subject: [PATCH] =?UTF-8?q?StompMessagingClient=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/pages/AlarmInfoList.vue | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 0aa4cab..cd1cf7e 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "centrifuge": "^4.0.1", "dotenv": "^16.3.1", "google-protobuf": "^3.21.2", - "jl-graphic": "git+https://git.code.tencent.com/jl-framework/graphic-pixi.git#v0.1.0", + "jl-graphic": "git+https://git.code.tencent.com/jl-framework/graphic-pixi.git#v0.1.2", "js-base64": "^3.7.5", "pinia": "^2.0.11", "quasar": "^2.6.0", diff --git a/src/pages/AlarmInfoList.vue b/src/pages/AlarmInfoList.vue index 944bed4..2f6670e 100644 --- a/src/pages/AlarmInfoList.vue +++ b/src/pages/AlarmInfoList.vue @@ -556,6 +556,10 @@ function socketConnect() { wsUrl: `${getWebsocketUrl()}`, token: getJwtToken() as string, protocol: 'protobuf', + connectTimeout: 30 * 1000, + heartbeat: 60, + retryPeriod: 2 * 1000, + retryTimes: 100, }); socket.on('connected', () => { socket?.subscribe(destination, handler);