diff options
author | dormando <dormando@rydia.net> | 2020-10-29 16:30:20 -0700 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2020-10-29 16:35:09 -0700 |
commit | 31956fd70ea79841a0ed5e0d9e480f8bf9b0e10b (patch) | |
tree | b5436f3d4bd43695270387d77b1ba90b05558b61 /logger.c | |
parent | c9f10b3a24778d69fb345490fb24084179fd5b3b (diff) | |
download | memcached-31956fd70ea79841a0ed5e0d9e480f8bf9b0e10b.tar.gz |
watcher.t: reduce flakiness
logger seems to be getting POLLHUP spuriously on slower platforms.
I haven't tracked it down but it's either running poll() tons of times
trying to write to the socket or the way perl is handling replacing a
file descriptor (overwriting $watcher which closes old and creates new
socket).
instead wait for the writes to flush which probably fixes other issues
regardless, and don't overwrite the socket object.
Diffstat (limited to 'logger.c')
0 files changed, 0 insertions, 0 deletions