disable stopped notification until fixed

This commit is contained in:
Andras Bacsai 2023-08-27 14:53:16 +02:00
parent 522713473d
commit 35a75e1066
4 changed files with 4 additions and 4 deletions

View File

@ -70,7 +70,7 @@ public function stop()
);
$this->application->status = 'stopped';
$this->application->save();
$this->application->environment->project->team->notify(new StatusChanged($this->application));
// $this->application->environment->project->team->notify(new StatusChanged($this->application));
}
}
}

View File

@ -44,7 +44,7 @@ public function stop()
);
$this->database->status = 'stopped';
$this->database->save();
$this->database->environment->project->team->notify(new StatusChanged($this->database));
// $this->database->environment->project->team->notify(new StatusChanged($this->database));
}
public function start()

View File

@ -35,7 +35,7 @@ public function handle(): void
try {
$status = getApplicationContainerStatus(application: $this->application);
if ($this->application->status === 'running' && $status !== 'running') {
$this->application->environment->project->team->notify(new StatusChanged($this->application));
// $this->application->environment->project->team->notify(new StatusChanged($this->application));
}
if ($this->pullRequestId !== 0) {

View File

@ -40,7 +40,7 @@ public function handle(): void
if ($this->database->status === 'running' && $status !== 'running') {
if (data_get($this->database, 'environment.project.team')) {
$this->database->environment->project->team->notify(new StatusChanged($this->database));
// $this->database->environment->project->team->notify(new StatusChanged($this->database));
}
}
if ($this->database->status !== $status) {