(fix) set the memcache retry timeout to 5 seconds
This commit is contained in:
parent
3c2fa1c769
commit
f4394ad8b5
|
@ -115,6 +115,7 @@ static memcached_st *handle = NULL;
|
|||
{
|
||||
memcached_behavior_set(handle, MEMCACHED_BEHAVIOR_BINARY_PROTOCOL, 1);
|
||||
memcached_behavior_set(handle, MEMCACHED_BEHAVIOR_TCP_NODELAY, 1);
|
||||
memcached_behavior_set(handle, MEMCACHED_BEHAVIOR_RETRY_TIMEOUT, 5);
|
||||
|
||||
sd = [SOGoSystemDefaults sharedSystemDefaults];
|
||||
|
||||
|
|
Loading…
Reference in a new issue