From: Aaron Schulz Date: Sun, 14 Dec 2014 00:46:48 +0000 (-0800) Subject: Made StashEdit log a bit less verbose X-Git-Tag: 1.31.0-rc.0~12960^2 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=3b9b48646b1292952a06693d47d57a7e9450cdfd;p=lhc%2Fweb%2Fwiklou.git Made StashEdit log a bit less verbose Change-Id: Ib1272862efa5518854533af8bf28df97f37f350e --- diff --git a/includes/api/ApiStashEdit.php b/includes/api/ApiStashEdit.php index 2f9f37ec27..938f6c0f06 100644 --- a/includes/api/ApiStashEdit.php +++ b/includes/api/ApiStashEdit.php @@ -239,7 +239,9 @@ class ApiStashEdit extends ApiBase { $wgMemc->unlock( $key ); } $sec = microtime( true ) - $start; - wfDebugLog( 'StashEdit', "Waited $sec seconds on '$key'." ); + if ( $sec > .01 ) { + wfDebugLog( 'StashEdit', "Waited $sec seconds on '$key'." ); + } } if ( !is_object( $editInfo ) || !$editInfo->output ) {