Skip to content

Commit b679f7f

Browse files
Release v1.24.3
1 parent ce3807a commit b679f7f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

cli-common/remote-mgmt-service.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,10 @@ export class RemoteMgmt extends (EventEmitter as new () => TypedEmitter<{
636636

637637
this._ws.on('close', () => {
638638
console.log(TCP_PREFIX, 'Trying to connect in 1 second...');
639-
setTimeout(this.connect.bind(this), 1000);
639+
setTimeout(() => {
640+
// eslint-disable-next-line @typescript-eslint/no-floating-promises
641+
this.connect(true, this._inferenceInfo);
642+
}, 1000);
640643
if (this._ws) {
641644
this._ws.removeAllListeners();
642645
}

0 commit comments

Comments
 (0)