Skip to content

Commit a130720

Browse files
committed
Add default solid queue cleanup job
Solid Queue added this in a recent release but since it only applies at installation time, we did not yet have it.
1 parent 5026472 commit a130720

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

config/recurring.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
# priority: 2
1010
# schedule: at 5am every day
1111
production:
12+
clear_solid_queue_finished_jobs:
13+
command: "SolidQueue::Job.clear_finished_in_batches(sleep_between_batches: 0.3)"
14+
schedule: every hour at minute 12
1215
delete_expired_activity:
1316
class: DeleteExpiredActivityJob
1417
schedule: every hour

0 commit comments

Comments
 (0)