Skip to content

Commit

Permalink
Describe memcache connection configuration options in defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
thomascube committed Feb 11, 2015
1 parent 38b42e9 commit de3fc1a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions config/defaults.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,19 @@
// 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;

Expand Down

0 comments on commit de3fc1a

Please sign in to comment.