dscape/lynx — pull request #4 by Tenzer (2013-10-28 13:02:50+00:00)
Title: Avoid corrupt UDP packages due to being to large

We experience an issue with incomplete data being sent through lynx, because of bulks of several hundreds of metrics at a time are being sent with the `send()` function. The incomplete data is because of the UDP package size being to large for all systems to handle, and thus being truncated on the way from lynx to StatsD.
This patch will put every 5 metrics in its own UDP package which should work for basically all metrics.

I have tried to write the code in the same format as the existing code, but let me know if there are any changes you would like me to make.