Skip to content

Commit 75a534b

Browse files
authored
Merge pull request #852 from AikidoSec/imadd-track-request-comment
Add extra comment for trackRequest
2 parents 7154da2 + 12cbfc0 commit 75a534b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

library/helpers/fetch.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ export async function fetch({
113113
]);
114114
}
115115

116+
// Add our own requests as outbound connections (Heartbeats, realtime polling, etc.)
117+
// Only for new instrumentation (see below)
116118
function trackRequest(url: URL) {
117119
const agent = getInstance();
118120
if (!agent) {

0 commit comments

Comments
 (0)