(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,6 +104,7 @@ 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];