diff --git a/app/jobs/enqueue_nightly_query_runner_jobs.rb b/app/jobs/enqueue_nightly_query_runner_jobs.rb index 45cbf1e20..499e7c3b1 100644 --- a/app/jobs/enqueue_nightly_query_runner_jobs.rb +++ b/app/jobs/enqueue_nightly_query_runner_jobs.rb @@ -1,6 +1,9 @@ +# frozen_string_literal: true + class EnqueueNightlyQueryRunnerJobs < ApplicationJob - - def perform book + queue_as :default + + def perform Case.all.nightly_run.each do |kase| try = kase.tries.last QueryRunnerJob.perform_later kase, try