xin

memcached_connect_timeout

Sets the connect timeout to a memcached target.

Syntaxmemcached_connect_timeout time;
Contextshttpserverlocation
Defaultmemcached_connect_timeout 60s;

Behavior

Applies to connections opened by this location’s memcached handler.

Example

memcached_connect_timeout 2s;

Related directives

memcached_pass