Reduce batch size of stages we schedule for a migration

This commit is contained in:
Grzegorz Bizon 2018-01-06 14:29:35 +01:00
parent aaa678cbc6
commit 3c89252e53

View file

@ -3,7 +3,7 @@ class ScheduleBuildStageMigration < ActiveRecord::Migration
DOWNTIME = false
MIGRATION = 'MigrateBuildStage'.freeze
BATCH = 10_000
BATCH = 1000
class Build < ActiveRecord::Base
include EachBatch