(fix) set the memcache retry timeout to 5 seconds

This commit is contained in:
Ludovic Marcotte 2017-02-20 10:05:52 -05:00
parent 3c2fa1c769
commit f4394ad8b5

View file

@ -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];