diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2009-09-08 20:18:12 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-09-09 10:36:09 -0400 |
commit | ab66a19a3f9368723dfe569d4d31c6b2b9e6656c (patch) | |
tree | e80147af61b38e7fea7ab0304772d5ccd405658c /server/examples | |
parent | dcc9605bc490aaf4872dc98c3b81829f9943556e (diff) | |
download | sssd-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')
-rw-r--r-- | server/examples/sssd.conf | 9 |
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 |