feat(async): re-order priority jobs

This commit is contained in:
mfo 2024-09-24 21:24:22 +02:00
parent 08ec45443d
commit afe98704e9
No known key found for this signature in database
GPG key ID: 7CE3E1F5B794A8EC
9 changed files with 10 additions and 1 deletions

View file

@ -1,6 +1,7 @@
# frozen_string_literal: true
class ProcessStalledDeclarativeDossierJob < ApplicationJob
queue_as :low
def perform(dossier)
return if dossier.declarative_triggered_at.present?