]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-stats: Handle better write() to stats process failing with EAGAIN
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Fri, 15 Apr 2016 12:01:20 +0000 (15:01 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 18 Apr 2016 17:22:44 +0000 (20:22 +0300)
commit14e2d75759a311ee6baf3b0416380fc7b3ed2448
tree7e899c6ec7dac25dc81d121cb4f1a6531dad228e
parent6da64a8fd41363c7667e1adab03b58e05e92a611
lib-stats: Handle better write() to stats process failing with EAGAIN

It only means that the stats process is too busy and the FIFO is filled up.
Retrying the write later should work. We also don't want to log too much about
the same warning, so do it only once per 30 seconds.
src/lib-stats/stats-connection.c