summaryrefslogtreecommitdiffstats
path: root/tools/enable-pre-commit-hook.sh
diff options
context:
space:
mode:
authorJohannes Erdfelt <johannes.erdfelt@rackspace.com>2011-12-15 15:21:11 +0000
committerJohannes Erdfelt <johannes.erdfelt@rackspace.com>2011-12-15 15:21:11 +0000
commita72a66c206cd80aa4b392eb42c29e4a1cd4463f9 (patch)
tree31d7523ba163e9fb6a63e536459379e867ac3158 /tools/enable-pre-commit-hook.sh
parentc421328c5697698adfaacdf053efe715646d069a (diff)
Switch disk_config extension to use one DB query
A response through this extension can have many servers and making one query per server can slow down response time dramatically. This change switches the extension to use one DB query instead of many queries. It also avoids queries when the key is already populated, such as when the results include responses from a remote zone. This change reduces a 'nova list' of 21 servers from 14 seconds to 1 second on my (relatively slow) development system. Change-Id: I8476dbca0f87ff2a3d69bd7b8f51c296e41e3388
Diffstat (limited to 'tools/enable-pre-commit-hook.sh')
0 files changed, 0 insertions, 0 deletions