author | Florian Forster <octo@collectd.org> | |
Mon, 3 Sep 2012 06:22:16 +0000 (08:22 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Mon, 3 Sep 2012 06:22:16 +0000 (08:22 +0200) | ||
commit | 5e505d5063b668b17ac84f1ad474b0e3fc338818 | |
tree | bb52bfb03b536d5f32bc51e69f5a208f4fbd55ee | tree | snapshot |
parent | c3309905dfb77b54e89cbfac5cdad5df0f64bedd | commit | diff |
memcached plugin: Refactor the memcached_query_daemon() function.
The connecting code has been broken out in separate functions and the
writing and reading from the socket no longer uses poll(2),
non-blocking I/O and a custom built retry logic. Instead block on I/O and
let the read-thread-pool do its thing.
The connecting code has been broken out in separate functions and the
writing and reading from the socket no longer uses poll(2),
non-blocking I/O and a custom built retry logic. Instead block on I/O and
let the read-thread-pool do its thing.
src/memcached.c | diff | blob | history |