fix(CheckProxy, Status): prevent proxy checks when force_stop is active; remove debug statement in General

This commit is contained in:
Andras Bacsai
2025-04-05 14:32:51 +02:00
parent 61c689d807
commit 3176106222
3 changed files with 4 additions and 3 deletions

View File

@@ -34,6 +34,9 @@ class Status extends Component
public function checkProxy(bool $notification = false)
{
try {
if ($this->server->proxy->force_stop) {
return;
}
if ($this->polling) {
if ($this->numberOfPolls >= 10) {
$this->polling = false;