diff options
author | Alexander Sulfrian <alexander.sulfrian@fu-berlin.de> | 2016-07-12 02:51:18 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander.sulfrian@fu-berlin.de> | 2017-03-21 17:26:08 +0100 |
commit | 66c272c383c52343b5a201ab59ca2e0e1ee8ee2c (patch) | |
tree | 0aa22d27d941d0692e67d829bfbb7e4e6584348c /doc/development | |
parent | 3909b0e2897f56b1b50d66c0bde76fcaa111ce25 (diff) | |
download | bcfg2-66c272c383c52343b5a201ab59ca2e0e1ee8ee2c.tar.gz bcfg2-66c272c383c52343b5a201ab59ca2e0e1ee8ee2c.tar.bz2 bcfg2-66c272c383c52343b5a201ab59ca2e0e1ee8ee2c.zip |
Server/Plugins/Ldap: Cache the results of the Ldap queries
Using the OnDemandDict removes the results of Ldap queries from the
client_metadata cache. We add a new cache per hostname cache for the
single ldap queries and add a new configuration option to enable
caching until the cache is expired manually via XML-RPC.
Diffstat (limited to 'doc/development')
-rw-r--r-- | doc/development/caching.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/development/caching.txt b/doc/development/caching.txt index 83ec0290f..c8b7aba14 100644 --- a/doc/development/caching.txt +++ b/doc/development/caching.txt @@ -67,6 +67,9 @@ Currently known caches are: | pkg_sets | <Collection.cachekey>`, | | for clients | | | hash of the initial package selection | | | +-------------+---------------------------------------+-------------------------------------------------+------------------------------------------------------+ +| Ldap, | Hostname, ``<query name>`` | :func:`processed result of the query | Cached results from the Ldap queries | +| results, | | <Bcfg2.Server.Plugins.LdapQuery.process_result>`| | ++-------------+---------------------------------------+-------------------------------------------------+------------------------------------------------------+ These are enumerated so that they can be expired as needed by other plugins or other code points. |