dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
582adf6
)
Made StashEdit log a bit less verbose
author
Aaron Schulz
<aschulz@wikimedia.org>
Sun, 14 Dec 2014 00:46:48 +0000
(16:46 -0800)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Sun, 14 Dec 2014 00:46:48 +0000
(16:46 -0800)
Change-Id: Ib1272862efa5518854533af8bf28df97f37f350e
includes/api/ApiStashEdit.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiStashEdit.php
b/includes/api/ApiStashEdit.php
index
2f9f37e
..
938f6c0
100644
(file)
--- 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 ) {