summaryrefslogtreecommitdiffstats
path: root/server/responder/nss/nsssrv.h
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/responder/nss/nsssrv.h
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/responder/nss/nsssrv.h')
-rw-r--r--server/responder/nss/nsssrv.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/responder/nss/nsssrv.h b/server/responder/nss/nsssrv.h
index c5a7bb301..a5adbaf83 100644
--- a/server/responder/nss/nsssrv.h
+++ b/server/responder/nss/nsssrv.h
@@ -46,10 +46,12 @@ struct getent_ctx;
struct nss_ctx {
struct resp_ctx *rctx;
- int cache_timeout;
int neg_timeout;
struct nss_nc_ctx *ncache;
+ int cache_timeout;
+ int cache_refresh_timeout;
+
int enum_cache_timeout;
time_t last_user_enum;
time_t last_group_enum;