Set RxStomp reconnect delay to 10 seconds for stable websocket reconnection
This commit is contained in:
committed by
Aditya Chandel
parent
b34f7fcbf1
commit
614af906b7
@@ -7,7 +7,7 @@ export function createRxStompConfig(authService: AuthService): RxStompConfig {
|
||||
brokerURL: API_CONFIG.BROKER_URL,
|
||||
heartbeatIncoming: 0,
|
||||
heartbeatOutgoing: 20000,
|
||||
reconnectDelay: 200,
|
||||
reconnectDelay: 10000,
|
||||
beforeConnect: (stomp) => {
|
||||
const oidcToken = authService.getOidcAccessToken();
|
||||
const internalToken = authService.getInternalAccessToken();
|
||||
|
||||
Reference in New Issue
Block a user