diff options
author | Simo Sorce <idra@samba.org> | 2009-01-11 12:17:18 -0500 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2009-01-11 12:17:18 -0500 |
commit | 28fc5582c207d493a33406222da517a241a157ec (patch) | |
tree | 87b4944e91df4b3783da193c58c3e8f5734a5344 /server/nss/nsssrv.h | |
parent | 91dfe750f64cc0d8a970864959767379e0d128db (diff) | |
download | sssd-28fc5582c207d493a33406222da517a241a157ec.tar.gz sssd-28fc5582c207d493a33406222da517a241a157ec.tar.bz2 sssd-28fc5582c207d493a33406222da517a241a157ec.zip |
Add caching behavior to nsssrv_cmd.c check cache first and
dispatch to backends only if we have a cache miss.
Diffstat (limited to 'server/nss/nsssrv.h')
-rw-r--r-- | server/nss/nsssrv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/nss/nsssrv.h b/server/nss/nsssrv.h index 51b0f535..faefa7df 100644 --- a/server/nss/nsssrv.h +++ b/server/nss/nsssrv.h @@ -48,6 +48,8 @@ struct nss_ctx { struct service_sbus_ctx *ss_ctx; struct service_sbus_ctx *dp_ctx; struct btreemap *domain_map; + + int cache_timeout; }; struct cli_ctx { |