Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly close UDPSocket before creating a new one #142

Closed
wants to merge 1 commit into from

Commits on Apr 5, 2020

  1. Properly close UDPSocket before creating a new one

    Unless you properly call `close()` on the UDPSocket object, unclosed
    sockets will very quickly accumulate. If you are sending stats to
    StatsD quickly, then you may actually run out of free ports. This
    changes the retry behavior to close the port before trying to open a new
    one.
    zachmccormick committed Apr 5, 2020
    Configuration menu
    Copy the full SHA
    4f777b4 View commit details
    Browse the repository at this point in the history