Cache-Memcached-Fast
view release on metacpan or search on metacpan
lib/Cache/Memcached/Fast.pm view on Meta::CPAN
io_timeout => 0.5
(default: 1.0 seconds)
The value is a non-negative rational number of seconds to wait before
giving up on communicating with the server(s). Zero disables timeout.
Note that for commands that communicate with more than one server
(like L</get_multi>) the timeout applies per server set, not per each
server. Thus it won't expire if one server is quick enough to
communicate, even if others are silent. But if some servers are dead
those alive will finish communication, and then dead servers would
timeout.
=item I<close_on_error>
close_on_error => 0
(default: enabled)
The value is a boolean which enables (true) or disables (false)
I<close_on_error> mode. When enabled, any error response from the
B<memcached> server would make client close the connection. Note that
( run in 1.369 second using v1.01-cache-2.11-cpan-df04353d9ac )