fix: proxy start job

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

No files matched your search

+3 -2
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());