From 23567a733626fb968e71d130fe07815870dbafb7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 25 Mar 2010 09:15:29 +0000 Subject: [PATCH] - stole config with comments from fc .spec Changed files: memcache.ini -> 1.2 --- memcache.ini | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/memcache.ini b/memcache.ini index 45c37d6..1479994 100644 --- a/memcache.ini +++ b/memcache.ini @@ -1,10 +1,34 @@ ; Enable memcache extension module extension=memcache.so + +; Options for the %{pecl_name} module + +; Whether to transparently failover to other servers on errors ;memcache.allow_failover=1 -;memcache.chunk_size=8192 +; Data will be transferred in chunks of this size +;memcache.chunk_size=32768 +; Autocompress large data +;memcache.compress_threshold=20000 +; The default TCP port number to use when connecting to the memcached server ;memcache.default_port=11211 +; Hash function {crc32, fnv} +;memcache.hash_function=crc32 +; Hash strategy {standard, consistent} +;memcache.hash_strategy=consistent +; Defines how many servers to try when setting and getting data. +;memcache.max_failover_attempts=20 +; The protocol {ascii, binary} : You need a memcached >= 1.3.0 to use the binary protocol +; The binary protocol results in less traffic and is more efficient ;memcache.protocol=ascii -;memcache.redudndancy=1 +; Redundancy : When enabled the client sends requests to N servers in parallel +;memcache.redundancy=1 ;memcache.session_redundancy=2 -;memcache.hash_strategy=consistent -;memcache.hash_function=crc32 +; Lock Timeout +;memcache.lock_timeout = 15 + +; Options to use the memcache session handler + +; Use memcache as a session handler +;session.save_handler=memcache +; Defines a comma separated of server urls to use for session storage +;session.save_path="tcp://localhost:11211?persistent=1&weight=1&timeout=1&retry_interval=15" -- 2.43.0