diff options
Diffstat (limited to 'app/workers/issue_due_scheduler_worker.rb')
-rw-r--r-- | app/workers/issue_due_scheduler_worker.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/workers/issue_due_scheduler_worker.rb b/app/workers/issue_due_scheduler_worker.rb index d4d47659ef0..59027907284 100644 --- a/app/workers/issue_due_scheduler_worker.rb +++ b/app/workers/issue_due_scheduler_worker.rb @@ -2,7 +2,7 @@ class IssueDueSchedulerWorker include ApplicationWorker - include CronjobQueue + include CronjobQueue # rubocop:disable Scalability/CronWorkerContext feature_category :issue_tracking @@ -10,7 +10,7 @@ class IssueDueSchedulerWorker def perform project_ids = Issue.opened.due_tomorrow.group(:project_id).pluck(:project_id).map { |id| [id] } - MailScheduler::IssueDueWorker.bulk_perform_async(project_ids) + MailScheduler::IssueDueWorker.bulk_perform_async(project_ids) # rubocop:disable Scalability/BulkPerformWithContext end # rubocop: enable CodeReuse/ActiveRecord end |