diff --git a/dicos/90_redis.xml b/dicos/90_redis.xml index 78cc3a3..42dcab7 100644 --- a/dicos/90_redis.xml +++ b/dicos/90_redis.xml @@ -87,6 +87,9 @@ + + 10000 + 512 diff --git a/tmpl/redis-slave.conf b/tmpl/redis-slave.conf index b4f6e0e..0bd2772 100644 --- a/tmpl/redis-slave.conf +++ b/tmpl/redis-slave.conf @@ -291,7 +291,7 @@ dir /var/lib/redis # Once the limit is reached Redis will close all the new connections sending # an error 'max number of clients reached'. # -# maxclients 10000 +maxclients %%redisMaxClients # Don't use more memory than the specified amount of bytes. # When the memory limit is reached Redis will try to remove keys diff --git a/tmpl/redis.conf b/tmpl/redis.conf index 13c42ac..21ab54a 100644 --- a/tmpl/redis.conf +++ b/tmpl/redis.conf @@ -295,7 +295,7 @@ dir /var/lib/redis # Once the limit is reached Redis will close all the new connections sending # an error 'max number of clients reached'. # -# maxclients 10000 +maxclients %%redisMaxClients # Don't use more memory than the specified amount of bytes. # When the memory limit is reached Redis will try to remove keys