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);