From 854cc487f7a9e781f02eb663614531c6c252dd66 Mon Sep 17 00:00:00 2001 From: Jason Ertel Date: Tue, 11 Aug 2020 09:21:06 -0400 Subject: [PATCH 1/2] Always disable screen blanking, to simplify logic --- setup/so-setup | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/setup/so-setup b/setup/so-setup index 7f127fc57..1e49b325f 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -118,9 +118,7 @@ if [ "$OS" == ubuntu ]; then update-alternatives --set newt-palette /etc/newt/palette.original >> $setup_log 2>&1 fi -if [ $automated == no ]; then - setterm -blank 0 >> $setup_log 2>&1 -fi +setterm -blank 0 >> $setup_log 2>&1 if [ "$setup_type" == 'iso' ] || (whiptail_you_sure); then true From b95f8a9314a68e34fa2ec320fc0e1a31e77ff1a4 Mon Sep 17 00:00:00 2001 From: weslambert Date: Tue, 11 Aug 2020 12:57:57 -0400 Subject: [PATCH 2/2] Update Redis maxmemory settings --- salt/redis/etc/redis.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/salt/redis/etc/redis.conf b/salt/redis/etc/redis.conf index cf43bc04c..7679a789e 100644 --- a/salt/redis/etc/redis.conf +++ b/salt/redis/etc/redis.conf @@ -858,7 +858,7 @@ acllog-max-len 128 # limit for maxmemory so that there is some free RAM on the system for replica # output buffers (but this is not needed if the policy is 'noeviction'). # -# maxmemory +maxmemory 817m # MAXMEMORY POLICY: how Redis will select what to remove when maxmemory # is reached. You can select one from the following behaviors: @@ -889,7 +889,7 @@ acllog-max-len 128 # # The default is: # -# maxmemory-policy noeviction +maxmemory-policy noeviction # LRU, LFU and minimal TTL algorithms are not precise algorithms but approximated # algorithms (in order to save memory), so you can tune it for speed or @@ -1834,4 +1834,4 @@ jemalloc-bg-thread yes # aof_rewrite_cpulist 8-11 # # Set bgsave child process to cpu affinity 1,10,11 -# bgsave_cpulist 1,10-11 \ No newline at end of file +# bgsave_cpulist 1,10-11