diff --git a/app/jobs/places/bulk_name_fetching_job.rb b/app/jobs/places/bulk_name_fetching_job.rb index 9c8eeea4..b5212f82 100644 --- a/app/jobs/places/bulk_name_fetching_job.rb +++ b/app/jobs/places/bulk_name_fetching_job.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class Places::BulkNameFetchingJob < ApplicationJob - queue_as :default + queue_as :places def perform Place.where(name: Place::DEFAULT_NAME).find_each do |place| diff --git a/config/schedule.yml b/config/schedule.yml index 863296df..aae74d6d 100644 --- a/config/schedule.yml +++ b/config/schedule.yml @@ -37,5 +37,5 @@ tracks_bulk_creating_job: place_name_fetching_job: cron: "30 0 * * *" # every day at 00:30 - class: "Places::NameFetchingJob" + class: "Places::BulkNameFetchingJob" queue: places