chore: Update constants.ssh.mux_enabled in remoteProcess.php

This commit is contained in:
Andras Bacsai
2024-09-12 12:16:20 +02:00
parent 7dd0588bfe
commit 16e472da19

View File

@@ -197,7 +197,7 @@ function generateSshCommand(Server $server, string $command)
function ensureMultiplexedConnection(Server $server)
{
if (!(config('coolify.mux_enabled') && config('coolify.is_windows_docker_desktop') == false)) {
if (! (config('constants.ssh.mux_enabled') && config('coolify.is_windows_docker_desktop') == false)) {
return;
}
@@ -268,7 +268,7 @@ function ensureMultiplexedConnection(Server $server)
function shouldResetMultiplexedConnection(Server $server)
{
if (!(config('coolify.mux_enabled') && config('coolify.is_windows_docker_desktop') == false)) {
if (! (config('constants.ssh.mux_enabled') && config('coolify.is_windows_docker_desktop') == false)) {
return false;
}
@@ -287,7 +287,7 @@ function shouldResetMultiplexedConnection(Server $server)
function resetMultiplexedConnection(Server $server)
{
if (!(config('coolify.mux_enabled') && config('coolify.is_windows_docker_desktop') == false)) {
if (! (config('constants.ssh.mux_enabled') && config('coolify.is_windows_docker_desktop') == false)) {
return;
}