web: reset retryDelay for WS connection after successful connect
This commit is contained in:
parent
38bd05867d
commit
0993d5ce4a
|
@ -47,6 +47,7 @@ export class MessageContainer extends LitElement {
|
|||
this.messageSocket = new WebSocket(wsUrl);
|
||||
this.messageSocket.addEventListener("open", () => {
|
||||
console.debug(`authentik/messages: connected to ${wsUrl}`);
|
||||
this.retryDelay = 200;
|
||||
});
|
||||
this.messageSocket.addEventListener("close", (e) => {
|
||||
console.debug(`authentik/messages: closed ws connection: ${e}`);
|
||||
|
|
Reference in New Issue