StompMessagingClient修改
This commit is contained in:
parent
4c807dc273
commit
322c81fb45
@ -23,7 +23,7 @@
|
|||||||
"centrifuge": "^4.0.1",
|
"centrifuge": "^4.0.1",
|
||||||
"dotenv": "^16.3.1",
|
"dotenv": "^16.3.1",
|
||||||
"google-protobuf": "^3.21.2",
|
"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",
|
"js-base64": "^3.7.5",
|
||||||
"pinia": "^2.0.11",
|
"pinia": "^2.0.11",
|
||||||
"quasar": "^2.6.0",
|
"quasar": "^2.6.0",
|
||||||
|
@ -556,6 +556,10 @@ function socketConnect() {
|
|||||||
wsUrl: `${getWebsocketUrl()}`,
|
wsUrl: `${getWebsocketUrl()}`,
|
||||||
token: getJwtToken() as string,
|
token: getJwtToken() as string,
|
||||||
protocol: 'protobuf',
|
protocol: 'protobuf',
|
||||||
|
connectTimeout: 30 * 1000,
|
||||||
|
heartbeat: 60,
|
||||||
|
retryPeriod: 2 * 1000,
|
||||||
|
retryTimes: 100,
|
||||||
});
|
});
|
||||||
socket.on('connected', () => {
|
socket.on('connected', () => {
|
||||||
socket?.subscribe(destination, handler);
|
socket?.subscribe(destination, handler);
|
||||||
|
Loading…
Reference in New Issue
Block a user