Skip to content

Commit

Permalink
add sleep 5 seconds to funding fee job
Browse files Browse the repository at this point in the history
  • Loading branch information
pan-xiong committed Oct 24, 2023
1 parent 9b9aebf commit dd11ddf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/jobs/get_funding_fee_histories_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def perform(sync_ranking: false)

UserSyncedPosition.available.each do |up|
generate_history(up, date)
sleep 5
end
end

Expand Down

0 comments on commit dd11ddf

Please sign in to comment.