mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #4399 from inflammable/patch-1
Correct Memcached config in example
This commit is contained in:
commit
2549fa8a93
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user