fix: disable containerStopped job for now
This commit is contained in:
@@ -243,7 +243,7 @@ class GetContainersStatus
|
|||||||
} else {
|
} else {
|
||||||
$url = null;
|
$url = null;
|
||||||
}
|
}
|
||||||
$this->server->team?->notify(new ContainerStopped($containerName, $this->server, $url));
|
// $this->server->team?->notify(new ContainerStopped($containerName, $this->server, $url));
|
||||||
$exitedService->update(['status' => 'exited']);
|
$exitedService->update(['status' => 'exited']);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -270,7 +270,7 @@ class GetContainersStatus
|
|||||||
$url = null;
|
$url = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->server->team?->notify(new ContainerStopped($containerName, $this->server, $url));
|
// $this->server->team?->notify(new ContainerStopped($containerName, $this->server, $url));
|
||||||
}
|
}
|
||||||
$notRunningApplicationPreviews = $previews->pluck('id')->diff($foundApplicationPreviews);
|
$notRunningApplicationPreviews = $previews->pluck('id')->diff($foundApplicationPreviews);
|
||||||
foreach ($notRunningApplicationPreviews as $previewId) {
|
foreach ($notRunningApplicationPreviews as $previewId) {
|
||||||
@@ -295,7 +295,7 @@ class GetContainersStatus
|
|||||||
$url = null;
|
$url = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->server->team?->notify(new ContainerStopped($containerName, $this->server, $url));
|
// $this->server->team?->notify(new ContainerStopped($containerName, $this->server, $url));
|
||||||
}
|
}
|
||||||
$notRunningDatabases = $databases->pluck('id')->diff($foundDatabases);
|
$notRunningDatabases = $databases->pluck('id')->diff($foundDatabases);
|
||||||
foreach ($notRunningDatabases as $database) {
|
foreach ($notRunningDatabases as $database) {
|
||||||
@@ -319,7 +319,7 @@ class GetContainersStatus
|
|||||||
} else {
|
} else {
|
||||||
$url = null;
|
$url = null;
|
||||||
}
|
}
|
||||||
$this->server->team?->notify(new ContainerStopped($containerName, $this->server, $url));
|
// $this->server->team?->notify(new ContainerStopped($containerName, $this->server, $url));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check if proxy is running
|
// Check if proxy is running
|
||||||
@@ -573,7 +573,7 @@ class GetContainersStatus
|
|||||||
} else {
|
} else {
|
||||||
$url = null;
|
$url = null;
|
||||||
}
|
}
|
||||||
$this->server->team?->notify(new ContainerStopped($containerName, $this->server, $url));
|
// $this->server->team?->notify(new ContainerStopped($containerName, $this->server, $url));
|
||||||
$exitedService->update(['status' => 'exited']);
|
$exitedService->update(['status' => 'exited']);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -600,7 +600,7 @@ class GetContainersStatus
|
|||||||
$url = null;
|
$url = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->server->team?->notify(new ContainerStopped($containerName, $this->server, $url));
|
// $this->server->team?->notify(new ContainerStopped($containerName, $this->server, $url));
|
||||||
}
|
}
|
||||||
$notRunningApplicationPreviews = $previews->pluck('id')->diff($foundApplicationPreviews);
|
$notRunningApplicationPreviews = $previews->pluck('id')->diff($foundApplicationPreviews);
|
||||||
foreach ($notRunningApplicationPreviews as $previewId) {
|
foreach ($notRunningApplicationPreviews as $previewId) {
|
||||||
@@ -625,7 +625,7 @@ class GetContainersStatus
|
|||||||
$url = null;
|
$url = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->server->team?->notify(new ContainerStopped($containerName, $this->server, $url));
|
// $this->server->team?->notify(new ContainerStopped($containerName, $this->server, $url));
|
||||||
}
|
}
|
||||||
$notRunningDatabases = $databases->pluck('id')->diff($foundDatabases);
|
$notRunningDatabases = $databases->pluck('id')->diff($foundDatabases);
|
||||||
foreach ($notRunningDatabases as $database) {
|
foreach ($notRunningDatabases as $database) {
|
||||||
@@ -649,7 +649,7 @@ class GetContainersStatus
|
|||||||
} else {
|
} else {
|
||||||
$url = null;
|
$url = null;
|
||||||
}
|
}
|
||||||
$this->server->team?->notify(new ContainerStopped($containerName, $this->server, $url));
|
// $this->server->team?->notify(new ContainerStopped($containerName, $this->server, $url));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check if proxy is running
|
// Check if proxy is running
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ class CheckLogDrainContainerJob implements ShouldQueue, ShouldBeEncrypted
|
|||||||
}
|
}
|
||||||
if (!$this->server->log_drain_notification_sent) {
|
if (!$this->server->log_drain_notification_sent) {
|
||||||
ray('Log drain container still unhealthy. Sending notification...');
|
ray('Log drain container still unhealthy. Sending notification...');
|
||||||
$this->server->team?->notify(new ContainerStopped('Coolify Log Drainer', $this->server, null));
|
// $this->server->team?->notify(new ContainerStopped('Coolify Log Drainer', $this->server, null));
|
||||||
$this->server->update(['log_drain_notification_sent' => true]);
|
$this->server->update(['log_drain_notification_sent' => true]);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user