Bump memcached defaults a bit

Plus make max_conn configurable(default is 1024)

Closes-Bug: #1653071
Change-Id: Iccdf7a75b3f2c3400b49dce36571206a8c0d34d3
This commit is contained in:
Proskurin Kirill 2016-12-29 09:56:02 +00:00
parent fe1c7dbc40
commit 08eec55454
2 changed files with 3 additions and 2 deletions

View File

@ -3,4 +3,5 @@ configs:
address: 0.0.0.0
port:
cont: 11211
ram: 256
ram: 1024
max_connections: 16384

View File

@ -7,5 +7,5 @@ service:
- name: memcached
image: memcached
daemon:
command: memcached -v -u memcached -l {{ memcached.address }} -m {{ memcached.ram }}
command: memcached -v -u memcached -l {{ memcached.address }} -m {{ memcached.ram }} -c {{ memcached.max_connections }}
user: memcached