redis: max clients is configurable
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Jérémy Lecour 2019-08-30 08:53:12 +02:00
parent 2c2f13e17f
commit 6db519c2b0
3 changed files with 6 additions and 1 deletions

View file

@ -16,6 +16,7 @@ The **patch** part changes incrementally at each release.
* php: variable to install the mysqlnd module instead of the default mysql module
* packweb-apache: Deploy opcache.php to give some insights on PHP's opcache status
* webapps/evoadmin-web Overload templates if needed
* redis: max clients is configurable
### Changed
* elasticsearch: listen on local interface only by default

View file

@ -29,6 +29,8 @@ redis_rdbcompression: "yes"
redis_dbfilename: dump.rdb
redis_dbdir: /var/lib/redis
redis_maxclients: 128
redis_maxmemory: 0
redis_maxmemory_policy: "noeviction"
redis_maxmemory_samples: 5

View file

@ -40,7 +40,9 @@ dir {{ redis_dbdir }}
protected-mode {{ redis_protected_mode }}
{% endif %}
# maxclients 128
{% if redis_maxclients %}
maxclients {{ redis_maxclients }}
{% endif %}
{% if redis_maxmemory %}
maxmemory {{ redis_maxmemory }}