aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests/test_auth.py
diff options
context:
space:
mode:
authorSebastian Spaeth <Sebastian@SSpaeth.de>2012-12-19 15:03:43 +0100
committerSebastian Spaeth <Sebastian@SSpaeth.de>2013-01-16 20:19:26 +0100
commitc00e18fe49ae357c897855dfbc2e7d110c0762b1 (patch)
treec46bffc0f20e06cb6affe9b11c4fd0e864c5292d /mediagoblin/tests/test_auth.py
parent9408938bcca29c385b95beb043c04f6d25e65316 (diff)
downloadmediagoblin-c00e18fe49ae357c897855dfbc2e7d110c0762b1.tar.lz
mediagoblin-c00e18fe49ae357c897855dfbc2e7d110c0762b1.tar.xz
mediagoblin-c00e18fe49ae357c897855dfbc2e7d110c0762b1.zip
Do not read complete videos in RAM (#419)
We were reading the complete "medium" "thumbnail" and "original" in RAM via dst.write(src.read()). Just call the appropriate storage methods copy_local_to_storage which are responsible for streaming local files efficiently. The efficiency of this patch depends on the separate branch that actually implements chunked copying for Storage().copy_local_to_storage()
Diffstat (limited to 'mediagoblin/tests/test_auth.py')
0 files changed, 0 insertions, 0 deletions