summaryrefslogtreecommitdiffstats
path: root/ipaclient/plugins
diff options
context:
space:
mode:
authorDavid Kupka <dkupka@redhat.com>2016-07-27 10:46:40 +0200
committerJan Cholasta <jcholast@redhat.com>2016-08-03 16:32:39 +0200
commit47a693d17430e82787d9704637c022a2fcac531a (patch)
treeba2f0eeba210e168318ea13733bddce93eda4126 /ipaclient/plugins
parent51ccde25f7ec0d5309c52b5349992652c7e17a01 (diff)
schema: Speed up schema cache
Check presence of schema in cache (and download it if necessary) on __init__ instead of with each __getitem__ call. Prefill internal dictionary with empty record for each command to be able to quickly determine if requested command exist in schema or not. Rest of schema data are read from cache on first attempt to retrive them. https://fedorahosted.org/freeipa/ticket/6048 https://fedorahosted.org/freeipa/ticket/6069 Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'ipaclient/plugins')
0 files changed, 0 insertions, 0 deletions