Merge pull request #4399 from inflammable/patch-1

Correct Memcached config in example
This commit is contained in:
Daniel Hensby 2015-07-15 14:21:21 +01:00
commit 2549fa8a93

View File

@ -117,14 +117,16 @@ To use this backend, you need a memcached daemon and the memcache PECL extension
'primary_memcached', 'primary_memcached',
'Memcached', 'Memcached',
array( array(
'host' => 'localhost', 'servers' => array(
'port' => 11211, 'host' => 'localhost',
'persistent' => true, 'port' => 11211,
'weight' => 1, 'persistent' => true,
'timeout' => 5, 'weight' => 1,
'retry_interval' => 15, 'timeout' => 5,
'status' => true, 'retry_interval' => 15,
'failure_callback' => '' 'status' => true,
'failure_callback' => ''
)
) )
); );
SS_Cache::pick_backend('primary_memcached', 'any', 10); SS_Cache::pick_backend('primary_memcached', 'any', 10);