chore(task): reduce batch size of fill stable id task

This commit is contained in:
Paul Chavard 2024-04-02 15:55:44 +02:00
parent b245d9b063
commit 792bf47658

View file

@ -2,7 +2,7 @@
module Maintenance
class FillChampsStableIdTask < MaintenanceTasks::Task
BATCH = 1_000
BATCH = 20
def collection
(Dossier.last.id / BATCH).ceil.times.to_a