You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The request-received middleware at https://github.com/cabinjs/request-received exposes a Symbol.for property, which this package could conditionally consume if interested (as opposed to just generating a new Date().
would change from req._startTime = new Date(); to req._startTime = req[Symbol.for('request-received.startTime')] ? req[Symbol.for('request-received.startTime')] : new Date()
The
request-receivedmiddleware at https://github.com/cabinjs/request-received exposes aSymbol.forproperty, which this package could conditionally consume if interested (as opposed to just generating anew Date().e.g.
node-connect-datadog/lib/index.js
Line 32 in cc04b2d
req._startTime = new Date();toreq._startTime = req[Symbol.for('request-received.startTime')] ? req[Symbol.for('request-received.startTime')] : new Date()