~493pocbrcycmdw7yksonho9o2qzz-o18bz-d18ecat4t1b76tkfi3vttrkfngli/libmemcached/feature-server_timeout

Viewing all changes in revision 1173.

  • Committer: Nicolas Van Eenaeme
  • Date: 2013-11-20 15:37:48 UTC
  • Revision ID: nicolas@poison.be-20131120153748-iiw6pvzrdci6og2d
Added server_timeout_counter and behavior MEMCACHED_BEHAVIOR_SERVER_TIMEOUT_LIMIT.

This feature works as follows:
When a timeout occurs, retry MEMCACHED_BEHAVIOR_SERVER_TIMEOUT_LIMIT times before
putting the server in MEMCACHED_SERVER_STATE_IN_TIMEOUT state.

It makes sense to not fail from the 1st time but retry on the next calls before marking
the server as timeout.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: