From ab66a19a3f9368723dfe569d4d31c6b2b9e6656c Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Tue, 8 Sep 2009 20:18:12 -0400 Subject: Add support for the EntryCacheNoWaitRefreshTimeout This timeout specifies the lifetime of a cache entry before it is updated out-of-band. When this timeout is hit, the request will still complete from cache, but the SSSD will also go and update the cached entry in the background to extend the life of the cache entry and reduce the wait time of a future request. --- server/examples/sssd.conf | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'server/examples/sssd.conf') diff --git a/server/examples/sssd.conf b/server/examples/sssd.conf index 90e0c8d11..b47ab9ddd 100644 --- a/server/examples/sssd.conf +++ b/server/examples/sssd.conf @@ -13,6 +13,15 @@ description = NSS Responder Configuration filterGroups = root filterUsers = root +# The EntryCacheTimeout indicates the number of seconds to retain before +# an entry in cache is considered stale and must block to refresh. +# The EntryCacheNoWaitRefreshTimeout indicates the number of seconds to +# wait before updating the cache out-of-band. (NSS requests will still +# be returned from cache until the full EntryCacheTimeout). Setting this +# value to 0 turns this feature off (default) +; EntryCacheTimeout = 600 +; EntryCacheNoWaitRefreshTimeout = 300 + [services/dp] description = Data Provider Configuration -- cgit