Skip to content

Commit 960f970

Browse files
committed
chore: Remove unused middleware and uniqueId method in DockerCleanupJob
1 parent ae62781 commit 960f970

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

app/Jobs/DockerCleanupJob.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
use Illuminate\Contracts\Queue\ShouldQueue;
1111
use Illuminate\Foundation\Bus\Dispatchable;
1212
use Illuminate\Queue\InteractsWithQueue;
13-
use Illuminate\Queue\Middleware\WithoutOverlapping;
1413
use Illuminate\Queue\SerializesModels;
1514
use Illuminate\Support\Facades\Log;
1615

@@ -26,16 +25,6 @@ class DockerCleanupJob implements ShouldBeEncrypted, ShouldQueue
2625

2726
public function __construct(public Server $server) {}
2827

29-
public function middleware(): array
30-
{
31-
return [new WithoutOverlapping($this->server->id)];
32-
}
33-
34-
public function uniqueId(): int
35-
{
36-
return $this->server->id;
37-
}
38-
3928
public function handle(): void
4029
{
4130
try {

0 commit comments

Comments
 (0)