Skip to content

Commit 4c817ff

Browse files
committed
Change recurring.yml to run cleanup
This runs the SolidQueue::Job.clear_finished_in_batches by default.
1 parent b001117 commit 4c817ff

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1-
# production:
2-
# periodic_cleanup:
3-
# class: CleanSoftDeletedRecordsJob
4-
# queue: background
5-
# args: [ 1000, { batch_size: 500 } ]
6-
# schedule: every hour
7-
# periodic_command:
8-
# command: "SoftDeletedRecord.due.delete_all"
9-
# priority: 2
10-
# schedule: at 5am every day
1+
production:
2+
solid_queue_cleanup:
3+
command: "SolidQueue::Job.clear_finished_in_batches"
4+
schedule: every hour
5+
6+
# periodic_cleanup:
7+
# class: CleanSoftDeletedRecordsJob
8+
# queue: background
9+
# args: [ 1000, { batch_size: 500 } ]
10+
# schedule: every hour
11+
12+
# periodic_command:
13+
# command: "SoftDeletedRecord.due.delete_all"
14+
# priority: 2
15+
# schedule: at 5am every day

0 commit comments

Comments
 (0)