tech(expires): pause car on est entrain de trop enqueue de jobs
This commit is contained in:
parent
46b75c7525
commit
cc4d124068
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue