Skip to content

Commit eb54525

Browse files
committed
Merge pull request #235 from TysonAndre/update-default-memcached.ini-docs
[php7] Document ini settings for the default memcached connection configs
2 parents fec1759 + 4bb264e commit eb54525

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

memcached.ini

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,3 +125,32 @@ memcached.serializer = "igbinary"
125125
; environment.
126126
; the default is 2
127127
memcached.store_retry_count = 2
128+
129+
; Sets the default for consistent hashing for new connections.
130+
; (To configure consistent hashing for session connections,
131+
; use memcached.sess_consistent_hash instead)
132+
;
133+
; If set to On, consistent hashing (libketama) is used
134+
; for session handling.
135+
; When consistent hashing is used, one can add or remove cache
136+
; node(s) without messing up too much with existing keys
137+
; default is Off
138+
memcached.default_consistent_hash = Off
139+
140+
; Sets the default memcached protocol for new connections.
141+
; (To configure the memcached protocol for connections used by sessions,
142+
; use memcached.sess_binary_protocol instead)
143+
;
144+
; If set to On, the memcached binary protocol is used by default.
145+
; If set to Off, the memcached text protocol is used.
146+
; Default is Off
147+
memcached.default_binary_protocol = Off
148+
149+
; Sets the default memcached connection timeout for new connections.
150+
; (To configure the memcached connection timeout for sessions,
151+
; use memcached.sess_connect_timeout instead)
152+
; In non-blocking mode this changes the value of the timeout.
153+
; during socket connection in milliseconds. Specifying -1 means an infinite timeout.
154+
; Specifying 0 means using the memcached library's default connection timeout.
155+
; Default is 0.
156+
memcached.default_connect_timeout = 0

0 commit comments

Comments
 (0)