refactor: Add force parameter to StartProxy handle method

This commit is contained in:
Andras Bacsai
2024-07-10 15:53:56 +02:00
parent f4bccefaba
commit 7c4a722d72
2 changed files with 3 additions and 3 deletions

View File

@@ -84,7 +84,7 @@ class Deploy extends Component
try {
$this->server->proxy->force_stop = false;
$this->server->save();
$activity = StartProxy::run($this->server);
$activity = StartProxy::run($this->server, force: true);
$this->dispatch('activityMonitor', $activity->id, ProxyStatusChanged::class);
} catch (\Throwable $e) {
return handleError($e, $this);