diff --git a/debug-ui/scripts/stats-server.ts b/debug-ui/scripts/stats-server.ts index d74a26ad9..955a2645d 100644 --- a/debug-ui/scripts/stats-server.ts +++ b/debug-ui/scripts/stats-server.ts @@ -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', () => {});