Bsitu has uploaded a new change for review.
https://gerrit.wikimedia.org/r/156737
Change subject: Add profiling to Echo notification API
......................................................................
Add profiling to Echo notification API
Change-Id: I427622aa67037e33eabab02c0adf13a2abf59377
---
M api/ApiEchoNotifications.php
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo
refs/changes/37/156737/1
diff --git a/api/ApiEchoNotifications.php b/api/ApiEchoNotifications.php
index 444896f..564265e 100644
--- a/api/ApiEchoNotifications.php
+++ b/api/ApiEchoNotifications.php
@@ -7,6 +7,7 @@
}
public function execute() {
+ wfProfileIn( __METHOD__ );
// To avoid API warning, register the parameter used to bust
browser cache
$this->getMain()->getVal( '_' );
@@ -59,6 +60,7 @@
$this->getResult()->setIndexedTagName( $result, 'notification'
);
$this->getResult()->addValue( 'query', $this->getModuleName(),
$result );
+ wfProfileOut( __METHOD__ );
}
/**
--
To view, visit https://gerrit.wikimedia.org/r/156737
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I427622aa67037e33eabab02c0adf13a2abf59377
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Bsitu <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits