Skip to content

Commit 005bd55

Browse files
committed
refactor: Update DockerCleanupJob to use server settings for force cleanup
1 parent 82a5b4c commit 005bd55

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/Jobs/DockerCleanupJob.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ public function handle(): void
4040
if (! $this->server->isFunctional()) {
4141
return;
4242
}
43-
if ($this->server->is_force_cleanup_enabled) {
43+
if ($this->server->settings->is_force_cleanup_enabled) {
44+
Log::info('DockerCleanupJob force cleanup on '.$this->server->name);
4445
CleanupDocker::run(server: $this->server, force: true);
4546

4647
return;

0 commit comments

Comments
 (0)