(fix) enable tcp_nodelay for memcache

This commit is contained in:
Ludovic Marcotte
2017-02-20 09:54:20 -05:00
parent bf001b1af6
commit 7f67e90c53

View File

@@ -104,7 +104,8 @@ static memcached_st *handle = NULL;
if (handle)
{
memcached_behavior_set(handle, MEMCACHED_BEHAVIOR_BINARY_PROTOCOL, 1);
memcached_behavior_set(handle, MEMCACHED_BEHAVIOR_TCP_NODELAY, 1);
sd = [SOGoSystemDefaults sharedSystemDefaults];
// We define the default value for cleaning up cached users'