Skip to content
Snippets Groups Projects
Commit ee33b503 authored by Jaime Pérez Crespo's avatar Jaime Pérez Crespo
Browse files

Fix memcache configuration example

parent f27fb03f
No related branches found
No related tags found
No related merge requests found
...@@ -678,30 +678,28 @@ $config = [ ...@@ -678,30 +678,28 @@ $config = [
* with the options desired for the given group: * with the options desired for the given group:
* *
* 'memcache_store.servers' => [ * 'memcache_store.servers' => [
* [ * 'memcache_group_1' => [
* 'memcache_group_1' => [ * 'options' => [
* 'options' => [ * \Memcached::OPT_BINARY_PROTOCOL => true,
* Memcached::OPT_BINARY_PROTOCOL => true, * \Memcached::OPT_NO_BLOCK => true,
* Memcached::OPT_NO_BLOCK => true, * \Memcached::OPT_TCP_NODELAY => true,
* Memcached::OPT_TCP_NODELAY => true, * \Memcached::OPT_LIBKETAMA_COMPATIBLE => true,
* Memcached::OPT_LIBKETAMA_COMPATIBLE => true, * \Memcached::OPT_BUFFER_WRITES => true,
* Memcached::OPT_BUFFER_WRITES => true,
* ],
* ['hostname' => '127.0.0.1', 'port' => 11211],
* ['hostname' => '127.0.0.2', 'port' => 11211],
* ], * ],
* ['hostname' => '127.0.0.1', 'port' => 11211],
* ['hostname' => '127.0.0.2', 'port' => 11211],
* ],
* *
* 'memcache_group_2' => [ * 'memcache_group_2' => [
* 'options' => [ * 'options' => [
* Memcached::OPT_BINARY_PROTOCOL => true, * \Memcached::OPT_BINARY_PROTOCOL => true,
* Memcached::OPT_NO_BLOCK => true, * \Memcached::OPT_NO_BLOCK => true,
* Memcached::OPT_TCP_NODELAY => true, * \Memcached::OPT_TCP_NODELAY => true,
* Memcached::OPT_LIBKETAMA_COMPATIBLE => true, * \Memcached::OPT_LIBKETAMA_COMPATIBLE => true,
* Memcached::OPT_BUFFER_WRITES => true, * \Memcached::OPT_BUFFER_WRITES => true,
* ],
* ['hostname' => '127.0.0.3', 'port' => 11211],
* ['hostname' => '127.0.0.4', 'port' => 11211],
* ], * ],
* ['hostname' => '127.0.0.3', 'port' => 11211],
* ['hostname' => '127.0.0.4', 'port' => 11211],
* ], * ],
* ], * ],
* *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment