disable stopped notification until fixed
This commit is contained in:
parent
522713473d
commit
35a75e1066
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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()
|
||||
|
@ -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) {
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user