Lots of updates
This commit is contained in:
@@ -9,7 +9,11 @@
|
||||
# priority: 2
|
||||
# schedule: at 5am every day
|
||||
|
||||
production:
|
||||
clear_solid_queue_finished_jobs:
|
||||
command: "SolidQueue::Job.clear_finished_in_batches(sleep_between_batches: 0.3)"
|
||||
schedule: every hour at minute 12
|
||||
# No recurring tasks configured yet
|
||||
# (previously had clear_solid_queue_finished_jobs, but now preserve_finished_jobs: false in queue.yml)
|
||||
|
||||
# Clean up failed jobs older than 1 day
|
||||
cleanup_failed_jobs:
|
||||
command: "SolidQueue::FailedExecution.where('created_at < ?', 1.day.ago).delete_all"
|
||||
queue: background
|
||||
schedule: every 6 hours
|
||||
|
||||
Reference in New Issue
Block a user