summaryrefslogtreecommitdiffstats
path: root/server/examples/sssd.conf
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-09-08 20:18:12 -0400
committerStephen Gallagher <sgallagh@redhat.com>2009-09-09 10:36:09 -0400
commitab66a19a3f9368723dfe569d4d31c6b2b9e6656c (patch)
treee80147af61b38e7fea7ab0304772d5ccd405658c /server/examples/sssd.conf
parentdcc9605bc490aaf4872dc98c3b81829f9943556e (diff)
downloadsssd-ab66a19a3f9368723dfe569d4d31c6b2b9e6656c.tar.gz
sssd-ab66a19a3f9368723dfe569d4d31c6b2b9e6656c.tar.xz
sssd-ab66a19a3f9368723dfe569d4d31c6b2b9e6656c.zip
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.
Diffstat (limited to 'server/examples/sssd.conf')
-rw-r--r--server/examples/sssd.conf9
1 files changed, 9 insertions, 0 deletions
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