fix(job): attempt to fix a pg timeout int Cron::NotifyDraftNotSubmittedJob

This commit is contained in:
Colin Darie 2023-03-08 18:45:02 +01:00
parent 86f15b8c05
commit 9e6d06fd9c

View file

@ -1352,7 +1352,6 @@ class Dossier < ApplicationRecord
def self.notify_draft_not_submitted
brouillon_near_procedure_closing_date
.includes(:user)
.find_each do |dossier|
DossierMailer.notify_brouillon_not_submitted(dossier).deliver_later
end