fix: reenable overlapping servercheckjob
This commit is contained in:
@@ -43,15 +43,15 @@ class ServerCheckJob implements ShouldBeEncrypted, ShouldQueue
|
|||||||
|
|
||||||
public function __construct(public Server $server) {}
|
public function __construct(public Server $server) {}
|
||||||
|
|
||||||
// public function middleware(): array
|
public function middleware(): array
|
||||||
// {
|
{
|
||||||
// return [(new WithoutOverlapping($this->server->uuid))];
|
return [(new WithoutOverlapping($this->server->uuid))];
|
||||||
// }
|
}
|
||||||
|
|
||||||
// public function uniqueId(): int
|
public function uniqueId(): int
|
||||||
// {
|
{
|
||||||
// return $this->server->uuid;
|
return $this->server->uuid;
|
||||||
// }
|
}
|
||||||
|
|
||||||
public function handle()
|
public function handle()
|
||||||
{
|
{
|
||||||
@@ -124,7 +124,7 @@ class ServerCheckJob implements ShouldBeEncrypted, ShouldQueue
|
|||||||
|
|
||||||
private function checkLogDrainContainer()
|
private function checkLogDrainContainer()
|
||||||
{
|
{
|
||||||
if(! $this->server->isLogDrainEnabled()) {
|
if (! $this->server->isLogDrainEnabled()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$foundLogDrainContainer = $this->containers->filter(function ($value, $key) {
|
$foundLogDrainContainer = $this->containers->filter(function ($value, $key) {
|
||||||
|
|||||||
Reference in New Issue
Block a user