From ce06a95274521392ebd9b5beed5c56979950c717 Mon Sep 17 00:00:00 2001 From: Stas Date: Mon, 7 Mar 2016 15:00:10 +0200 Subject: [PATCH] 113146419-step_size_changed --- lib/tasks/epp.rake | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/tasks/epp.rake b/lib/tasks/epp.rake index 361bbbc68..380fa3248 100644 --- a/lib/tasks/epp.rake +++ b/lib/tasks/epp.rake @@ -24,12 +24,9 @@ namespace :epp do x.request = trimmed - x.save and ids.push x.id and i += 1 and ids.push x.id + x.save and count += 1 and i += 1 and ids.push x.id - i += 1 - count += 1 - - if i == 100 + if i == 500 puts "-----> Total rows updated #{count}" puts "Last #{i} rows ids #{ids.join(', ')}" i = 0