• SparkSnail's avatar
    Fix ssh connection error (#829) · de9e2842
    SparkSnail authored
    SSH client has a max number of open channels for a connection, if we set the number of trialCurrency too big, our ssh client will exec command using ssh frequently, then we will meet the error of Error: (SSH) Channel open failure: open failed.
    Refactor the code, set one connection has a max trial concurrency, when the number of trial reach the ssh connection restriction, will create a new ssh connection to exec trial commands.
    de9e2842
remoteMachineTrainingService.ts 34.8 KB