fix: dockercleanupjob should be released back
This commit is contained in:
		@@ -2,7 +2,6 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
namespace App\Jobs;
 | 
					namespace App\Jobs;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
use App\Models\ApplicationDeploymentQueue;
 | 
					 | 
				
			||||||
use App\Models\Server;
 | 
					use App\Models\Server;
 | 
				
			||||||
use Illuminate\Bus\Queueable;
 | 
					use Illuminate\Bus\Queueable;
 | 
				
			||||||
use Illuminate\Contracts\Queue\ShouldBeEncrypted;
 | 
					use Illuminate\Contracts\Queue\ShouldBeEncrypted;
 | 
				
			||||||
@@ -22,7 +21,7 @@ class DockerCleanupJob implements ShouldQueue, ShouldBeEncrypted
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    public function middleware(): array
 | 
					    public function middleware(): array
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        return [(new WithoutOverlapping($this->server->uuid))->dontRelease()];
 | 
					        return [(new WithoutOverlapping($this->server->uuid))];
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public function uniqueId(): string
 | 
					    public function uniqueId(): string
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user