fix(scheduler): run stuck resource cleanup in background at 03:17

Bump the Coolify release version to 4.3.16 and update schedule coverage.
This commit is contained in:
Andras Bacsai
2026-09-03 19:23:08 +02:00
parent 45466b5069
commit 1d0d6b4a79
6 changed files with 13 additions and 10 deletions
+3 -2
View File
@@ -47,9 +47,10 @@ class Kernel extends ConsoleKernel
->when(fn () => config('constants.ssh.mux_enabled') && ! config('constants.coolify.is_windows_docker_desktop'));
$this->scheduleInstance->command('cleanup:redis --clear-locks')->daily();
$this->scheduleInstance->command('cleanup:stucked-resources')
->daily()
->dailyAt('03:17')
->onOneServer()
->withoutOverlapping(60);
->withoutOverlapping(60)
->runInBackground();
$this->scheduleInstance->command('sanctum:prune-expired --hours=1')->hourly()->onOneServer();
$this->scheduleInstance->job(new ApiTokenExpirationWarningJob)->hourly()->onOneServer();