Removed isMissing() calls from performance-sensitive code paths. Replaces live hack...
authorTim Starling <tstarling@users.mediawiki.org>
Tue, 16 Jun 2009 01:06:13 +0000 (01:06 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Tue, 16 Jun 2009 01:06:13 +0000 (01:06 +0000)
commit99b41790871d02d40a1b8fac35b3d80bcdf7640f
treefec6fecd057672bbbbc76a5b58326a6ab9834f8a
parent471e522ac5f6dcf5d96f5e1efa6dd9ec0789c9c2
Removed isMissing() calls from performance-sensitive code paths. Replaces live hack. Should hopefully avoid the total backend overload we saw when we deployed this feature initially. The feature could be reimplemented as a database field, img_missing, populated offline by a maintenance script. But doing an NFS stat() on page view is totally impossible.
includes/ImagePage.php
includes/filerepo/File.php