https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112377

Revision: 112377
Author:   aaron
Date:     2012-02-25 00:43:55 +0000 (Sat, 25 Feb 2012)
Log Message:
-----------
MFT r112259

Modified Paths:
--------------
    branches/wmf/1.19wmf1/includes/filerepo/backend/FileBackend.php

Modified: branches/wmf/1.19wmf1/includes/filerepo/backend/FileBackend.php
===================================================================
--- branches/wmf/1.19wmf1/includes/filerepo/backend/FileBackend.php     
2012-02-25 00:00:06 UTC (rev 112376)
+++ branches/wmf/1.19wmf1/includes/filerepo/backend/FileBackend.php     
2012-02-25 00:43:55 UTC (rev 112377)
@@ -1131,7 +1131,9 @@
                                return $this->cache[$path]['stat'];
                        }
                }
+               wfProfileIn( __METHOD__ . '-miss' );
                $stat = $this->doGetFileStat( $params );
+               wfProfileOut( __METHOD__ . '-miss' );
                if ( is_array( $stat ) ) { // don't cache negatives
                        $this->trimCache(); // limit memory
                        $this->cache[$path]['stat'] = $stat;
@@ -1173,7 +1175,9 @@
                        wfProfileOut( __METHOD__ );
                        return $this->cache[$path]['sha1'];
                }
+               wfProfileIn( __METHOD__ . '-miss' );
                $hash = $this->doGetFileSha1Base36( $params );
+               wfProfileOut( __METHOD__ . '-miss' );
                if ( $hash ) { // don't cache negatives
                        $this->trimCache(); // limit memory
                        $this->cache[$path]['sha1'] = $hash;


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to