https://github.com/ging/horizon
Revision f4d56fb134d7ec0be215b1794ab3e4c3382e5b2a authored by Kieran Spear on 18 September 2013, 05:28:40 UTC, committed by Kieran Spear on 25 September 2013, 05:36:15 UTC
The volume snapshots table has a column that shows the associated volume name and links to its volume detail page. This calls volume_get twice for each snapshot, so loading the Images & Snapshots page takes forever if you have a decent number of snapshots. This commit instead gets the volume list at the same time as the volume snapshot list, and stores the volume as an attribute on the snapshot so it can be easily retrieved later. Closes-bug: 1218259 Change-Id: I004e50aae51a6ed7549da41967bc42babfa6cb45
1 parent e063659
Tip revision: f4d56fb134d7ec0be215b1794ab3e4c3382e5b2a authored by Kieran Spear on 18 September 2013, 05:28:40 UTC
Fix excessive volume_get requests in snaps table
Fix excessive volume_get requests in snaps table
Tip revision: f4d56fb
File | Mode | Size |
---|---|---|
.tx | ||
doc | ||
horizon | ||
openstack_dashboard | ||
tools | ||
.gitignore | -rw-r--r-- | 377 bytes |
.gitreview | -rw-r--r-- | 76 bytes |
.mailmap | -rw-r--r-- | 519 bytes |
.pylintrc | -rw-r--r-- | 1.4 KB |
HACKING.rst | -rw-r--r-- | 411 bytes |
LICENSE | -rw-r--r-- | 9.9 KB |
MANIFEST.in | -rw-r--r-- | 654 bytes |
Makefile | -rw-r--r-- | 588 bytes |
README.rst | -rw-r--r-- | 3.1 KB |
manage.py | -rwxr-xr-x | 292 bytes |
openstack-common.conf | -rw-r--r-- | 194 bytes |
requirements.txt | -rw-r--r-- | 505 bytes |
run_tests.sh | -rwxr-xr-x | 12.7 KB |
setup.cfg | -rw-r--r-- | 1.0 KB |
setup.py | -rwxr-xr-x | 794 bytes |
test-requirements.txt | -rw-r--r-- | 289 bytes |
tox.ini | -rw-r--r-- | 1.1 KB |
Computing file changes ...