Skip to content

Commit

Permalink
Expire old connection
Browse files Browse the repository at this point in the history
  • Loading branch information
brittcyr committed Nov 11, 2024
1 parent e6a3aef commit fd27ffd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions debug-ui/scripts/stats-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,7 @@ export class ManifestStatsServer {
}

private resetWebsocket() {
try {
this.ws.close();
} catch {}
// Allow old one to timeout.
this.ws = new WebSocket('wss://mfx-feed-mainnet.fly.dev');

this.ws.on('open', () => {});
Expand Down

0 comments on commit fd27ffd

Please sign in to comment.