Fix: SSH Multiplexing for Jobs

This commit is contained in:
peaklabs-dev
2024-09-17 15:31:05 +02:00
parent 175f4b9ae1
commit ea3501ada6
4 changed files with 34 additions and 15 deletions

View File

@@ -966,8 +966,8 @@ $schema://$host {
public function validateConnection($isManualCheck = true)
{
// Set mux_enabled to true for automatic checks, false for manual checks
config()->set('constants.ssh.mux_enabled', !$isManualCheck);
ray('Manual Check: ' . ($isManualCheck ? 'true' : 'false'));
$server = Server::find($this->id);
if (! $server) {