diff options
author | Thomas Bruederli <bruederli@kolabsys.com> | 2015-02-11 21:37:23 +0100 |
---|---|---|
committer | Thomas Bruederli <bruederli@kolabsys.com> | 2015-02-11 21:37:23 +0100 |
commit | de3fc1afafd0830bf03fbc58022398f7fe6cf525 (patch) | |
tree | 3d7b7ce99325757a8f76e04237d041e2e4e602a8 /config | |
parent | 38b42e96af6a8b770510d1a0b247088e7a4648f4 (diff) |
Describe memcache connection configuration options in defaults
Diffstat (limited to 'config')
-rw-r--r-- | config/defaults.inc.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/config/defaults.inc.php b/config/defaults.inc.php index 5a5bffb5e..06ea9ec21 100644 --- a/config/defaults.inc.php +++ b/config/defaults.inc.php @@ -384,6 +384,19 @@ $config['session_storage'] = 'db'; // Define any number of hosts in the form of hostname:port or unix:///path/to/socket.file $config['memcache_hosts'] = null; // e.g. array( 'localhost:11211', '192.168.1.12:11211', 'unix:///var/tmp/memcached.sock' ); +// Controls the use of a persistent connections to memcache servers +// See http://php.net/manual/en/memcache.addserver.php +$config['memcache_pconnect'] = true; + +// Value in seconds which will be used for connecting to the daemon +// See http://php.net/manual/en/memcache.addserver.php +$config['memcache_timeout'] = 1; + +// Controls how often a failed server will be retried (value in seconds). +// Setting this parameter to -1 disables automatic retry. +// See http://php.net/manual/en/memcache.addserver.php +$config['memcache_retry_interval'] = 15; + // check client IP in session authorization $config['ip_check'] = false; |