pystatsd
pystatsd copied to clipboard
Add timeout to the graphite socket
Hi,
as far as I can tell, currently there is no timeout set on the socket which always comes back to bite you. I had issues (with the previous version) with the daemon process receiving metrics but not sending anything to graphite. My fix (which I have not extensively tested) was to set a half flush_interval timeout on the graphite socket.
Cheers Dimo