Skip to content

Commit 682f51e

Browse files
authored
Merge pull request #558 from magento-performance/ACPT-1500
ACPT-1500: Enable NewRelic monitoring for Application Server
2 parents c8fd00a + 391e28a commit 682f51e

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

app/code/Magento/NewRelicReporting/Model/NewRelicWrapper.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,6 @@ public function endTransaction($ignore = false)
8989
*/
9090
public function isExtensionInstalled()
9191
{
92-
if (extension_loaded('newrelic')) {
93-
return true;
94-
}
95-
return false;
92+
return extension_loaded('newrelic');
9693
}
9794
}

app/code/Magento/NewRelicReporting/etc/di.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
<arguments>
5151
<argument name="skipCommands" xsi:type="array">
5252
<item xsi:type="boolean" name="cron:run">true</item>
53+
<item xsi:type="boolean" name="server:run">true</item>
5354
</argument>
5455
</arguments>
5556
</type>

0 commit comments

Comments
 (0)