Don't override defaults from libmemcached.
This commit is contained in:
parent
ef23a84235
commit
4172411d53
@ -72,9 +72,6 @@ class Client(_pylibmc.client):
|
||||
stype = _pylibmc.server_type_tcp
|
||||
addr_tups.append((stype, addr, port))
|
||||
super(Client, self).__init__(addr_tups)
|
||||
# Perfomance is generally a lot better with tcp_nodelay
|
||||
# so set that as the default
|
||||
self.behaviors["tcp_nodelay"] = True
|
||||
|
||||
def get_behaviors(self):
|
||||
"""Gets the behaviors from the underlying C client instance.
|
||||
|
Reference in New Issue
Block a user