We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b03029e commit c7c0675Copy full SHA for c7c0675
src/participant.coffee
@@ -1,6 +1,7 @@
1
2
common = require './common'
3
transport = require './transport'
4
+newrelic = require './newrelic'
5
6
debug = require('debug')('msgflo:participant')
7
async = require 'async'
@@ -54,7 +55,6 @@ class Participant extends EventEmitter
54
55
role = 'unknown' if not role
56
@definition = instantiateDefinition def, role
57
@running = false
- newrelic = require './newrelic'
58
@_transactions = new newrelic.Transactions @definition
59
@options = options
60
@options.discoveryPeriod = defaultDiscoveryPeriod if not @options.discoveryPeriod # seconds
0 commit comments