From d3d85fae71bb5d0b169e25f79c49a80e9c5ae6a2 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 16 Feb 2017 11:32:28 +0100 Subject: [PATCH] Set a shorter cache TTL when not using CAS authentication --- root/etc/e-smith/templates/etc/sogo/sogo.conf/16memcached | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/e-smith/templates/etc/sogo/sogo.conf/16memcached b/root/etc/e-smith/templates/etc/sogo/sogo.conf/16memcached index 11c2038..796a836 100644 --- a/root/etc/e-smith/templates/etc/sogo/sogo.conf/16memcached +++ b/root/etc/e-smith/templates/etc/sogo/sogo.conf/16memcached @@ -1,2 +1,2 @@ SOGoMemcachedHost = "/var/run/sogo/memcached.sock"; - SOGoCacheCleanupInterval = 7200; + SOGoCacheCleanupInterval = { $sogod{CacheCleanupInterval} || ($sogod{Authentication} || 'cas') ne 'internal' ? '7200' : '300' };