jenkins-bot has submitted this change and it was merged. Change subject: Use correct module name for stats in executeActionWithErrorHandling() ......................................................................
Use correct module name for stats in executeActionWithErrorHandling() Change-Id: I7d300525c32877d6fcc940962c93b932dc4c9181 (cherry picked from commit 542640f4e2ece03a61ba9e956f235f793ac3fc56) --- M includes/api/ApiMain.php 1 file changed, 2 insertions(+), 1 deletion(-) Approvals: Aaron Schulz: Looks good to me, approved jenkins-bot: Verified diff --git a/includes/api/ApiMain.php b/includes/api/ApiMain.php index 60f2832..7f9b98b 100644 --- a/includes/api/ApiMain.php +++ b/includes/api/ApiMain.php @@ -471,7 +471,8 @@ $this->logRequest( $runTime ); if ( $this->mModule->isWriteMode() && $this->getRequest()->wasPosted() ) { $this->getStats()->timing( - 'api.' . $this->getModuleName() . '.executeTiming', 1000 * $runTime ); + 'api.' . $this->mModule->getModuleName() . '.executeTiming', 1000 * $runTime + ); } } catch ( Exception $e ) { $this->handleException( $e ); -- To view, visit https://gerrit.wikimedia.org/r/290836 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I7d300525c32877d6fcc940962c93b932dc4c9181 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/core Gerrit-Branch: wmf/1.28.0-wmf.3 Gerrit-Owner: Krinkle <krinklem...@gmail.com> Gerrit-Reviewer: Aaron Schulz <asch...@wikimedia.org> Gerrit-Reviewer: Anomie <bjor...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits