From 9497749a75d9463a45d01f729dba789790fc0277 Mon Sep 17 00:00:00 2001 From: Ere Maijala Date: Tue, 15 Oct 2024 14:35:10 +0300 Subject: [PATCH] Tweak config.ini --- config/vufind/config.ini | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/config/vufind/config.ini b/config/vufind/config.ini index 2dc94b47f05..b0cedb2d091 100644 --- a/config/vufind/config.ini +++ b/config/vufind/config.ini @@ -320,17 +320,14 @@ allowUserLogin = true ; needs them. This setting is ignored if allowUserLogin is false. checkILSCredentialsOnLogin = true -; ILS data cache life time in seconds per function. The cache is used to avoid -; repeating requests too often (but often enough to not use stale data). -; Currently supported for the functions listed below. Default is 60 seconds. -; Set to 0 to disable caching. -;cacheLifeTime[patronLogin] = 60 -;cacheLifeTime[getProxiedUsers] = 60 -;cacheLifeTime[getProxyingUsers] = 60 -;cacheLifeTime[getPurchaseHistory] = 60 -; * can be used to set the default for unlisted functions or be used as the only -; setting to disable caching: -;cacheLifeTime[*] = 0 +; ILS data cache life time in seconds. The cache is used to avoid repeating +; requests too often (but often enough to not use stale data). +; Default is 60 seconds. Set to 0 to disable caching. +; * can be used to set the default for all cacheable functions (patronLogin, +; getProxiedUsers, getProxyingUsers or getPurchaseHistory): +;cacheLifeTime[*] = 60 +; Default cache life time can be overridden for any cacheable function: +;cacheLifeTime[getProxiedUsers] = 300 ; loadNoILSOnFailure - Whether or not to load the NoILS driver if the main driver fails loadNoILSOnFailure = false