uber-archive / statsrelay

A consistent-hashing relay for statsd and carbon metrics
Other
101 stars 28 forks source link

flush stdout explicitly in stathasher, so it works better with bidirectional pipes #29

Closed eklitzke closed 9 years ago

eklitzke commented 9 years ago

This is necessary to have a bidirectional pipe with stathasher, since otherwise printf is detecting it's talking to a pipe and tries to do buffered output.

fmichea commented 9 years ago

I can dig it.