mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
trying to get data to load
This commit is contained in:
parent
b58bca6012
commit
62a9f9c194
2 changed files with 3 additions and 2 deletions
|
|
@ -145,7 +145,7 @@ namespace :data do
|
|||
bad_answers = {}
|
||||
year = '2017'
|
||||
|
||||
timeToRun = 6 * 60 * 60
|
||||
timeToRun = 100 * 60 * 60
|
||||
startIndex = 0
|
||||
startTime = Time.new
|
||||
|
||||
|
|
@ -165,7 +165,7 @@ namespace :data do
|
|||
break
|
||||
end
|
||||
|
||||
if index % 10 == 0
|
||||
if index % 100 == 0
|
||||
puts("DATAMSG: PROCESSING ROW: #{index} OUT OF #{csv.length} ROWS: #{Time.new - t} - Total: #{Time.new - startTime} - #{timeToRun - (Time.new - startTime)} TO GO")
|
||||
t = Time.new
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue