Commit dffda56a authored by Arturo Herrero's avatar Arturo Herrero

Increase batch size to 10_000

update_all and insert_all are pretty efficient and can easily handle a
few thousand records.
parent 0b2c94b7
...@@ -4,7 +4,7 @@ module Admin ...@@ -4,7 +4,7 @@ module Admin
module PropagateService module PropagateService
extend ActiveSupport::Concern extend ActiveSupport::Concern
BATCH_SIZE = 100 BATCH_SIZE = 10_000
class_methods do class_methods do
def propagate(integration) def propagate(integration)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment