Avoid attempting to prerender thumbnails that will fail
authorGilles Dubuc <gdubuc@wikimedia.org>
Fri, 3 Oct 2014 16:09:07 +0000 (18:09 +0200)
committerGilles Dubuc <gdubuc@wikimedia.org>
Fri, 3 Oct 2014 16:09:07 +0000 (18:09 +0200)
commit0ce5bafb4ba521497ea175a8bb61d437ecbb8453
tree10654d0d83d2ab8b6a329a490620c39fa26a2fc2
parent382e6c26bbd185d3a70dc3cf5f43a6e62598f455
Avoid attempting to prerender thumbnails that will fail

For non-vectorial content, requesting a thumbnail larger than
the original results in a 500. Prerendering in its current form
introduces an increase in 500s that dilutes the real problematic
500s, making troubleshooting harder than it needs to be.

Change-Id: I9418dee7653ad7954c3788ecdd350fc8772edd32
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/301
includes/upload/UploadBase.php