Skip to content

Commit c7c0675

Browse files
committed
participant: Avoid conditional include
They are handled inside anyways
1 parent b03029e commit c7c0675

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/participant.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11

22
common = require './common'
33
transport = require './transport'
4+
newrelic = require './newrelic'
45

56
debug = require('debug')('msgflo:participant')
67
async = require 'async'
@@ -54,7 +55,6 @@ class Participant extends EventEmitter
5455
role = 'unknown' if not role
5556
@definition = instantiateDefinition def, role
5657
@running = false
57-
newrelic = require './newrelic'
5858
@_transactions = new newrelic.Transactions @definition
5959
@options = options
6060
@options.discoveryPeriod = defaultDiscoveryPeriod if not @options.discoveryPeriod # seconds

0 commit comments

Comments
 (0)