mirror of
https://github.com/SrIzan10/hc-harbor.git
synced 2026-05-01 10:45:21 +00:00
decrase job retain
This commit is contained in:
@@ -5,6 +5,6 @@ class CleanupSuccessfulJobsJob < ApplicationJob
|
||||
enqueue_limit
|
||||
|
||||
def perform
|
||||
GoodJob.cleanup_preserved_jobs(older_than: 2.days, include_discarded: false)
|
||||
GoodJob.cleanup_preserved_jobs(older_than: 1.day, include_discarded: false)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user