Skip to content

Commit

Permalink
eventsub-ws: clear reconnect URL after welcome packet
Browse files Browse the repository at this point in the history
  • Loading branch information
d-fischer committed Feb 21, 2024
1 parent f856111 commit c3089d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/eventsub-ws/src/EventSubWsSocket.ts
Expand Up @@ -95,6 +95,7 @@ export class EventSubWsSocket {
this._initializeKeepaliveTimeout(
(payload as EventSubWelcomePayload).session.keepalive_timeout_seconds!,
);
this._reconnectUrl = undefined;
this._connection.acknowledgeSuccessfulReconnect();
break;
}
Expand Down

0 comments on commit c3089d2

Please sign in to comment.