Skip to content

Commit

Permalink
server: handle messages synchronously as it context switch is useless…
Browse files Browse the repository at this point in the history
… here
  • Loading branch information
niamster committed Feb 23, 2015
1 parent b263095 commit 196c724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dcell/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def initialize(cell)
# Wait for incoming 0MQ messages
def run
while true
async.handle_message @socket.read
handle_message @socket.read
end
end
end
Expand Down

0 comments on commit 196c724

Please sign in to comment.