Skip to content

Commit

Permalink
increase retries before sending packet
Browse files Browse the repository at this point in the history
  • Loading branch information
igrigorik committed Feb 4, 2011
1 parent cdbbcd7 commit 0c4dee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/em/resolver.rb
Expand Up @@ -133,9 +133,9 @@ def receive_answer(msg)
private

def send
@socket.send_packet(packet.encode)
@tries += 1
@last_send = Time.now
@socket.send_packet(packet.encode)
end

def id
Expand Down

0 comments on commit 0c4dee2

Please sign in to comment.