File tree Expand file tree Collapse file tree 1 file changed +15
-10
lines changed
lib/generators/solid_queue/install/templates/config Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments