Skip to content

Commit

Permalink
Revert unnecessary thread exits
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Phan committed Jul 16, 2019
1 parent 515143c commit bfc3bde
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/worker/master.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ def fetch
fetch_active_accounts!.map do |account_hash|
Thread.new do
fetch_trades_for_account!(account_hash)
Thread.current.exit
end
end.map(&:join)
end
Expand All @@ -47,7 +46,6 @@ def check_for_history_request
fetch_active_accounts!.map do |account_hash|
Thread.new do
CmeFixListener::HistoryRequestClient.new(account_hash).history_request!
Thread.current.exit
end
end.map(&:join)

Expand Down

0 comments on commit bfc3bde

Please sign in to comment.