pystatsd icon indicating copy to clipboard operation
pystatsd copied to clipboard

Add timeout to the graphite socket

Open dimovelev opened this issue 12 years ago • 0 comments

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

dimovelev avatar Feb 11 '13 21:02 dimovelev