From ea95b9ecd144423cd70d3790c97a3e7277fa9d02 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Thu, 5 Nov 2009 11:23:06 -0500 Subject: Update midpoint refresh logic to be relative to cache timeout --- server/man/sssd.conf.5.xml | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) (limited to 'server/man') diff --git a/server/man/sssd.conf.5.xml b/server/man/sssd.conf.5.xml index 42bda484..c928f0ba 100644 --- a/server/man/sssd.conf.5.xml +++ b/server/man/sssd.conf.5.xml @@ -257,12 +257,31 @@ - entry_cache_nowait_timeout (integer) + entry_cache_nowait_percentage (integer) - How long should nss_sss return cached entries before - initiating an out-of-band cache refresh (0 disables - this feature) + The entry cache can be set to automatically update + entries in the background if they are requested + beyond a percentage of the entry_cache_timeout + value for the domain. + + + For example, if the domain's entry_cache_timeout + is set to 30s and entry_cache_nowait_percentage is + set to 50 (percent), entries that come in after 15 + seconds past the last cache update will be + returned immediately, but the SSSD will go and + update the cache on its own, so that future + requests will not need to block waiting for a + cache update. + + + Valid values for this option are 0-99 and + represent a percentage of the entry_cache_timeout + for each domain. For performance reasons, this + percentage will never reduce the nowait timeout to + less than 10 seconds. + (0 disables this feature) Default: 0 -- cgit