Skip to content

Commit

Permalink
hotfix backfilling data add one second sleep each request
Browse files Browse the repository at this point in the history
  • Loading branch information
superspike7 committed Jul 15, 2022
1 parent 4e157a2 commit d13066a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/jobs/backfill_stocks_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ def perform(*args)
logo_url: "https://storage.googleapis.com/iex/api/logos/#{data.symbol}.png",
chart: client.chart(data.symbol)
)
sleep 1
end
end
end

0 comments on commit d13066a

Please sign in to comment.