From 1cf6463c427267c74d08c784994b11c2d319e312 Mon Sep 17 00:00:00 2001 From: Prabuddha Chakraborty Date: Thu, 15 Oct 2015 19:10:56 +0530 Subject: [PATCH] commented code --- ee/cli/plugins/stack.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ee/cli/plugins/stack.py b/ee/cli/plugins/stack.py index 10b413c1..158f3e3a 100644 --- a/ee/cli/plugins/stack.py +++ b/ee/cli/plugins/stack.py @@ -1818,6 +1818,9 @@ class EEStackController(CementBaseController): else: return self.msg + # set redis.conf parameter + # set maxmemory 10% for ram below 512MB and 20% for others + # set maxmemory-policy volatile-lru if redis_install_flag: if os.path.isfile("/etc/redis/redis.conf"): if EEVariables.ee_ram < 512: