diff --git a/app/jobs/api_entreprise/job.rb b/app/jobs/api_entreprise/job.rb index 240c364ac..d228acbe7 100644 --- a/app/jobs/api_entreprise/job.rb +++ b/app/jobs/api_entreprise/job.rb @@ -3,7 +3,7 @@ class APIEntreprise::Job < ApplicationJob DEFAULT_MAX_ATTEMPTS_API_ENTREPRISE_JOBS = 5 - queue_as :api_entreprise + queue_as :default # BadGateway could mean # - acoss: réessayer ultérieurement diff --git a/app/jobs/migrations/backfill_stable_id_job.rb b/app/jobs/migrations/backfill_stable_id_job.rb index 798291e2c..6cc33fcc9 100644 --- a/app/jobs/migrations/backfill_stable_id_job.rb +++ b/app/jobs/migrations/backfill_stable_id_job.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class Migrations::BackfillStableIdJob < ApplicationJob - queue_as :low_priority + queue_as :low DEFAULT_LIMIT = 50_000