Skip to content

Commit

Permalink
Fix backoff/retry bug when using tcp in clay.stats
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyGrosser committed Jul 9, 2014
1 parent 1bc9d6e commit b0619e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clay/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def get_socket(self):
return (self.proto, None)

if (self.next_retry is not None) and (self.next_retry > time.time()):
return
return (self.proto, None)

if proto == 'udp':
self.sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
Expand Down

0 comments on commit b0619e1

Please sign in to comment.