fix: proxy start job

This commit is contained in:
Andras Bacsai
2023-09-01 10:02:24 +02:00
parent 3fabff93f6
commit f75a324030
5 changed files with 33 additions and 20 deletions

View File

@@ -33,8 +33,9 @@ class ProxyCheckJob implements ShouldQueue
if ($status === 'running') {
continue;
}
// $server->team->notify(new ProxyStoppedNotification($server));
resolve(StartProxy::class)($server);
if (data_get($server, 'proxy.type')) {
resolve(StartProxy::class)($server);
}
}
} catch (\Throwable $th) {
ray($th->getMessage());