Set a shorter cache TTL when not using CAS authentication

This commit is contained in:
Daniel Berteaud 2017-02-16 11:32:28 +01:00
parent 90d3c32e99
commit d3d85fae71
1 changed files with 1 additions and 1 deletions

View File

@ -1,2 +1,2 @@
SOGoMemcachedHost = "/var/run/sogo/memcached.sock";
SOGoCacheCleanupInterval = 7200;
SOGoCacheCleanupInterval = { $sogod{CacheCleanupInterval} || ($sogod{Authentication} || 'cas') ne 'internal' ? '7200' : '300' };