Aaron Schulz has uploaded a new change for review. https://gerrit.wikimedia.org/r/177481
Change subject: Declare profiler in CLI mode (though it is not used) to support --profiler ...................................................................... Declare profiler in CLI mode (though it is not used) to support --profiler Change-Id: I520e146f48f4d41eb773d4042f7aec79f3d2bf87 --- M wmf-config/StartProfiler.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config refs/changes/81/177481/1 diff --git a/wmf-config/StartProfiler.php b/wmf-config/StartProfiler.php index 6d233af..5ccd260 100644 --- a/wmf-config/StartProfiler.php +++ b/wmf-config/StartProfiler.php @@ -23,7 +23,7 @@ $wgProfiler['output'] = 'udp'; $wgProfiler['profileID'] = 'test2'; # Normal case: randomly (or not) selected for logged profiling sample -} elseif ( PHP_SAPI !== 'cli' && $wmfDatacenter == 'eqiad' ) { +} elseif ( $wmfDatacenter == 'eqiad' ) { $wgProfiler['class'] = 'ProfilerStandard'; $wgProfiler['output'] = 'udp'; $wgProfiler['sampling'] = 50; -- To view, visit https://gerrit.wikimedia.org/r/177481 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I520e146f48f4d41eb773d4042f7aec79f3d2bf87 Gerrit-PatchSet: 1 Gerrit-Project: operations/mediawiki-config Gerrit-Branch: master Gerrit-Owner: Aaron Schulz <asch...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits