We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce3807a commit b679f7fCopy full SHA for b679f7f
1 file changed
cli-common/remote-mgmt-service.ts
@@ -636,7 +636,10 @@ export class RemoteMgmt extends (EventEmitter as new () => TypedEmitter<{
636
637
this._ws.on('close', () => {
638
console.log(TCP_PREFIX, 'Trying to connect in 1 second...');
639
- setTimeout(this.connect.bind(this), 1000);
+ setTimeout(() => {
640
+ // eslint-disable-next-line @typescript-eslint/no-floating-promises
641
+ this.connect(true, this._inferenceInfo);
642
+ }, 1000);
643
if (this._ws) {
644
this._ws.removeAllListeners();
645
}
0 commit comments