Merge pull request #10253 from tchak/chore-task-stable-id

chore(task): reduce batch size of fill stable id task
This commit is contained in:
Paul Chavard 2024-04-02 14:10:22 +00:00 committed by GitHub
commit 94aef62e87
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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