From c68306bd2c4cb6b847c800334390ecc3132d8a13 Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Tue, 6 Apr 2010 10:58:54 -0700 Subject: [PATCH] Update documentation. --- ChangeLog | 1 + docs/memcached_behavior.pod | 15 +++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/ChangeLog b/ChangeLog index 354ebe01..73129f08 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ * memcached_server_list() has been deprecated. Use memcached_server_cursor() to walk the servers found in a memcached_st() structure. * memcached_verbosity() can now be run concurrently with other operations. * SASL support. + * Fixes memory leak found in EJECT HOSTS. 0.38 Wed Feb 10 09:40:33 PST 2010 * C++ interface for libhashkit. diff --git a/docs/memcached_behavior.pod b/docs/memcached_behavior.pod index c9a7104f..eea90891 100644 --- a/docs/memcached_behavior.pod +++ b/docs/memcached_behavior.pod @@ -247,6 +247,21 @@ Find the current size of SO_RCVBUF. A value of 0 means either an error occured or no hosts were available. It is safe to assume system default if this occurs. +=item MEMCACHED_BEHAVIOR_SERVER_FAILURE_LIMIT + +This number of times a host can have an error before it is disabled. + +=item MEMCACHED_BEHAVIOR_AUTO_EJECT_HOSTS + +If enabled any hosts which have been flagged as disabled will be removed +from the list of servers in the memcached_st structure. This must be used +in combination with MEMCACHED_BEHAVIOR_SERVER_FAILURE_LIMIT. + +=item MEMCACHED_BEHAVIOR_RETRY_TIMEOUT + +When enabled a host which is problematic will only be checked for usage +based on the amount of time set by this behavior. + =back =head1 RETURN -- 2.30.2