-
Notifications
You must be signed in to change notification settings - Fork 221
Closed
Description
I searched but I couldn't find any similar request. I was wondering if it would make sense to add an option to raise an error if any recurring task is invalid?
From what I see, invalid recurring tasks are silently ignored here:
solid_queue/lib/solid_queue/configuration.rb
Lines 100 to 104 in c521c6d
| def recurring_tasks | |
| @recurring_tasks ||= recurring_tasks_config.map do |id, options| | |
| RecurringTask.from_configuration(id, **options) | |
| end.select(&:valid?) | |
| end |
I would be up to prepare a PR but wanted to check that this is something SolidQueue team wants.
PS: While writing this, I also thought if having a rake task could be interesting, to make it part of the deployment process for example.
Metadata
Metadata
Assignees
Labels
No labels