Skip to content

StatsD class should use non-blocking UDP connections

Compare
Choose a tag to compare
@kiyanwang kiyanwang released this 09 Oct 12:53
· 33 commits to master since this release
d7a586d

The implementation of our StatsD class which sends statistics via a UDP socket was being opened by default in blocking mode, which forces client code to wait. This release corrects this behaviour and ensures the socket is opened in non-blocking mode.