Fix bulk name fetching job queue

This commit is contained in:
Eugene Burmakin 2025-07-12 11:30:51 +02:00
parent cf50541be1
commit 58a7972976
2 changed files with 2 additions and 2 deletions

View file

@ -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|

View file

@ -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