fix: proxy start process

This commit is contained in:
Andras Bacsai
2023-10-17 19:00:23 +02:00
parent 59c5b22e6c
commit 6071412986
9 changed files with 40 additions and 23 deletions

View File

@@ -39,7 +39,7 @@ class Deploy extends Component
public function checkProxy()
{
try {
CheckProxy::run($this->server);
CheckProxy::run($this->server, true);
$this->emit('startProxyPolling');
$this->emit('proxyChecked');
} catch (\Throwable $e) {

View File

@@ -34,7 +34,7 @@ class Status extends Component
}
$this->numberOfPolls++;
}
CheckProxy::run($this->server);
CheckProxy::run($this->server, true);
$this->emit('proxyStatusUpdated');
if ($this->server->proxy->status === 'running') {
$this->polling = false;