Don't load XML metadata on DjVu thumb generation
authorGabriel Wicke <gwicke@wikimedia.org>
Sat, 25 Apr 2015 20:03:20 +0000 (13:03 -0700)
committerGabriel Wicke <gwicke@wikimedia.org>
Sat, 25 Apr 2015 20:04:17 +0000 (13:04 -0700)
commit71107e750250bf120b4b186f63da47301abc81af
tree98c0f5a5341eb7ea7478c424fd8a90603a11f499
parentee8ccd1b545c35a162c573d62564ae7448a8768a
Don't load XML metadata on DjVu thumb generation

As described in T96360, scaling of DjVu files loads huge XML blobs from the
database for no apparent reason. This caused several outages by overloading
the database.

This patch simply removes the XML fetching & associated check.

Bug: T96360

Change-Id: I99d90b569bf9a6b6492ecca23b1b00267b0fa0ab
includes/media/DjVu.php