Skip to content

Commit 3cb73ff

Browse files
committed
0.0.2
1 parent cd80cb8 commit 3cb73ff

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Newrelic.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
namespace bazilio\yii\newrelic;
44

5-
require_once __DIR__ . '/vendor/autoload.php';
6-
75
use bazilio\yii\newrelic\handlers\BaseHandler;
86
use bazilio\yii\newrelic\handlers\ConsoleHandler;
97
use bazilio\yii\newrelic\handlers\WebHandler;

handlers/ConsoleHandler.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ public function bootstrap($app)
1414
Application::EVENT_AFTER_ACTION,
1515
function () use ($app) {
1616
foreach ($app->requestedParams as $key => $value) {
17+
$this->getAgent()->backgroundJob();
1718
$this->getAgent()->addCustomParameter($key, (string)$value);
1819
}
1920
}

0 commit comments

Comments
 (0)