tech(expires): pause car on est entrain de trop enqueue de jobs

This commit is contained in:
Martin 2023-06-27 15:54:36 +02:00 committed by mfo
parent 46b75c7525
commit cc4d124068

View file

@ -2,6 +2,7 @@ class Cron::ExpiredDossiersTermineDeletionJob < Cron::CronJob
self.schedule_expression = "every day at 7 am"
def perform(*args)
ExpiredDossiersDeletionService.new.process_expired_dossiers_termine
# ExpiredDossiersDeletionService.new.process_expired_dossiers_termine
return "until we purge stock"
end
end