@@ -111,3 +111,32 @@ memcached.serializer = "igbinary"
111
111
; environment.
112
112
; the default is 2
113
113
memcached.store_retry_count = 2
114
+
115
+ ; Sets the default for consistent hashing for new connections.
116
+ ; (To configure consistent hashing for session connections,
117
+ ; use memcached.sess_consistent_hash instead)
118
+ ;
119
+ ; If set to On, consistent hashing (libketama) is used
120
+ ; for session handling.
121
+ ; When consistent hashing is used, one can add or remove cache
122
+ ; node(s) without messing up too much with existing keys
123
+ ; default is Off
124
+ memcached.default_consistent_hash = Off
125
+
126
+ ; Sets the default memcached protocol for new connections.
127
+ ; (To configure the memcached protocol for connections used by sessions,
128
+ ; use memcached.sess_binary_protocol instead)
129
+ ;
130
+ ; If set to On, the memcached binary protocol is used by default.
131
+ ; If set to Off, the memcached text protocol is used.
132
+ ; Default is Off
133
+ memcached.default_binary_protocol = Off
134
+
135
+ ; Sets the default memcached connection timeout for new connections.
136
+ ; (To configure the memcached connection timeout for sessions,
137
+ ; use memcached.sess_connect_timeout instead)
138
+ ; In non-blocking mode this changes the value of the timeout.
139
+ ; during socket connection in milliseconds. Specifying -1 means an infinite timeout.
140
+ ; Specifying 0 means using the memcached library's default connection timeout.
141
+ ; Default is 0.
142
+ memcached.default_connect_timeout = 0
0 commit comments