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,6 +117,7 @@ To use this backend, you need a memcached daemon and the memcache PECL extension
|
||||
'primary_memcached',
|
||||
'Memcached',
|
||||
array(
|
||||
'servers' => array(
|
||||
'host' => 'localhost',
|
||||
'port' => 11211,
|
||||
'persistent' => true,
|
||||
@ -126,6 +127,7 @@ To use this backend, you need a memcached daemon and the memcache PECL extension
|
||||
'status' => true,
|
||||
'failure_callback' => ''
|
||||
)
|
||||
)
|
||||
);
|
||||
SS_Cache::pick_backend('primary_memcached', 'any', 10);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user