mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 12:08:27 +02:00
113146419-step_size_changed
This commit is contained in:
parent
334e2b1362
commit
ce06a95274
1 changed files with 2 additions and 5 deletions
|
@ -24,12 +24,9 @@ namespace :epp do
|
||||||
|
|
||||||
x.request = trimmed
|
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
|
if i == 500
|
||||||
count += 1
|
|
||||||
|
|
||||||
if i == 100
|
|
||||||
puts "-----> Total rows updated #{count}"
|
puts "-----> Total rows updated #{count}"
|
||||||
puts "Last #{i} rows ids #{ids.join(', ')}"
|
puts "Last #{i} rows ids #{ids.join(', ')}"
|
||||||
i = 0
|
i = 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue