Skip to content

Commit

Permalink
Update SSHService.js (#2057)
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoPlays authored Sep 12, 2024
1 parent a0dcff4 commit 869cb94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion launcher/src/backend/SSHService.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ export class SSHService {
if (
this.connectionInfo &&
this.addingConnection &&
(this.connectionPool.length < 6 || this.connectionPool[threshholdIndex]?._chanMgr?._count > 0)
(this.connectionPool.length < 6 || this.connectionPool[threshholdIndex]?._chanMgr?._count > 0) &&
process.env.NODE_ENV != "test"
) {
await this.connect(this.connectionInfo);
}
Expand Down

0 comments on commit 869cb94

Please sign in to comment.