(fix) set the memcache retry timeout to 5 seconds

This commit is contained in:
Ludovic Marcotte committed 2017-02-20 10:35:08 -05:00
1 parent 7f67e90c53
commit fe42180bc0
1 file changed
+1
+1
View File
@@ -105,6 +105,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];