• Y
    Put an upper limit on update batches · 9a3bea67
    Yorick Peterse 提交于
    When using update_column_in_batches the upper limit on the batch size is
    now 1000. This ensures that for very large tables we don't lock tens of
    thousands of rows during the update. This in turn should reduce the
    likelyhood of running into deadlocks.
    9a3bea67
migration_helpers.rb 21.9 KB