forked from evolix/ansible-roles
redis: max clients is configurable
This commit is contained in:
parent
2c2f13e17f
commit
6db519c2b0
|
@ -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
|
* 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
|
* packweb-apache: Deploy opcache.php to give some insights on PHP's opcache status
|
||||||
* webapps/evoadmin-web Overload templates if needed
|
* webapps/evoadmin-web Overload templates if needed
|
||||||
|
* redis: max clients is configurable
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
* elasticsearch: listen on local interface only by default
|
* elasticsearch: listen on local interface only by default
|
||||||
|
|
|
@ -29,6 +29,8 @@ redis_rdbcompression: "yes"
|
||||||
redis_dbfilename: dump.rdb
|
redis_dbfilename: dump.rdb
|
||||||
redis_dbdir: /var/lib/redis
|
redis_dbdir: /var/lib/redis
|
||||||
|
|
||||||
|
redis_maxclients: 128
|
||||||
|
|
||||||
redis_maxmemory: 0
|
redis_maxmemory: 0
|
||||||
redis_maxmemory_policy: "noeviction"
|
redis_maxmemory_policy: "noeviction"
|
||||||
redis_maxmemory_samples: 5
|
redis_maxmemory_samples: 5
|
||||||
|
|
|
@ -40,7 +40,9 @@ dir {{ redis_dbdir }}
|
||||||
protected-mode {{ redis_protected_mode }}
|
protected-mode {{ redis_protected_mode }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
# maxclients 128
|
{% if redis_maxclients %}
|
||||||
|
maxclients {{ redis_maxclients }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if redis_maxmemory %}
|
{% if redis_maxmemory %}
|
||||||
maxmemory {{ redis_maxmemory }}
|
maxmemory {{ redis_maxmemory }}
|
||||||
|
|
Loading…
Reference in a new issue