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
{{ message }}
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.
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 text was updated successfully, but these errors were encountered:
The
request-received
middleware at https://github.com/cabinjs/request-received exposes aSymbol.for
property, 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()
The text was updated successfully, but these errors were encountered: