Browse Source

Bump memcached defaults a bit

Plus make max_conn configurable(default is 1024)

Closes-Bug: #1653071
Change-Id: Iccdf7a75b3f2c3400b49dce36571206a8c0d34d3
Proskurin Kirill 2 years ago
parent
commit
08eec55454
2 changed files with 3 additions and 2 deletions
  1. 2
    1
      service/files/defaults.yaml
  2. 1
    1
      service/memcached.yaml

+ 2
- 1
service/files/defaults.yaml View File

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

+ 1
- 1
service/memcached.yaml View File

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

Loading…
Cancel
Save