https://github.com/ging/horizon
Revision b527f225e41ddf3f377ae478e9df15973da0758f authored by Nicolas Simonds on 23 May 2014, 01:27:42 UTC, committed by Diana Whitten on 10 June 2014, 18:20:48 UTC
Sufficiently large image uploads into Glance from Horizon can cause
timeout errors, since the image upload needs to complete before the
view can render, and such activities can cause browser timeouts.
Since the webserver already has the file, and close-to-open semantics
should prevent cleanups from losing any data, just send it in a
background thread, the same way as if you told Horizon to fetch it
from a remote location.

Change-Id: Ia056367032e0d08edf6f36a8e9f900fddba85fdf
Closes-Bug: 1322399
Closes-Bug: 1325787
1 parent e492c7e
History
Tip revision: b527f225e41ddf3f377ae478e9df15973da0758f authored by Nicolas Simonds on 23 May 2014, 01:27:42 UTC
Image uploads should always happen in the background
Tip revision: b527f22
File Mode Size
.tx
doc
horizon
openstack_dashboard
tools
.gitignore -rw-r--r-- 377 bytes
.gitreview -rw-r--r-- 106 bytes
.mailmap -rw-r--r-- 581 bytes
.pylintrc -rw-r--r-- 1.4 KB
HACKING.rst -rw-r--r-- 1.0 KB
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 838 bytes
openstack-common.conf -rw-r--r-- 204 bytes
requirements.txt -rw-r--r-- 527 bytes
run_tests.sh -rwxr-xr-x 14.3 KB
setup.cfg -rw-r--r-- 1.0 KB
setup.py -rwxr-xr-x 781 bytes
test-requirements.txt -rw-r--r-- 208 bytes
tox.ini -rw-r--r-- 2.7 KB

README.rst

back to top