From e69b0ca1a90ac80ca80aa4f3d05f911f61114efe Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 8 Nov 2024 09:18:43 +0100 Subject: [PATCH] disable tcp proxy notification --- app/Actions/Docker/GetContainersStatus.php | 2 +- app/Actions/Server/ServerCheck.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Actions/Docker/GetContainersStatus.php b/app/Actions/Docker/GetContainersStatus.php index 95c22efc1..26bd9f0b4 100644 --- a/app/Actions/Docker/GetContainersStatus.php +++ b/app/Actions/Docker/GetContainersStatus.php @@ -171,7 +171,7 @@ class GetContainersStatus })->first(); if (! $foundTcpProxy) { StartDatabaseProxy::run($database); - $this->server->team?->notify(new ContainerRestarted("TCP Proxy for {$database->name}", $this->server)); + // $this->server->team?->notify(new ContainerRestarted("TCP Proxy for {$database->name}", $this->server)); } } } else { diff --git a/app/Actions/Server/ServerCheck.php b/app/Actions/Server/ServerCheck.php index d9de1464e..c72f129d3 100644 --- a/app/Actions/Server/ServerCheck.php +++ b/app/Actions/Server/ServerCheck.php @@ -259,7 +259,7 @@ class ServerCheck })->first(); if (! $foundTcpProxy) { StartDatabaseProxy::run($database); - $this->server->team?->notify(new ContainerRestarted("TCP Proxy for {$database->name}", $this->server)); + // $this->server->team?->notify(new ContainerRestarted("TCP Proxy for {$database->name}", $this->server)); } } }