mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-06 13:10:37 -04:00
fix(cloud): refresh local versions.json hourly on every node
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
666ae60c2c
commit
b1f2abf868
@@ -51,6 +51,11 @@ class Kernel extends ConsoleKernel
|
||||
->name('cleanup:ssh-mux')
|
||||
->hourly()
|
||||
->when(fn () => config('constants.ssh.mux_enabled') && ! config('constants.coolify.is_windows_docker_desktop'));
|
||||
// Every cloud node reads its own versions.json, so each node refreshes it (no onOneServer).
|
||||
$this->scheduleInstance->call(fn () => refresh_versions_file())
|
||||
->name('versions:refresh-local')
|
||||
->hourly()
|
||||
->when(fn () => isCloud());
|
||||
$this->scheduleInstance->command('cleanup:redis --clear-locks')->daily();
|
||||
$this->scheduleInstance->call(fn () => app(ScheduledJobDeliveryService::class)->deleteOldOccurrences())
|
||||
->name('cleanup:scheduled-job-occurrences')
|
||||
|
||||
Reference in New Issue
Block a user