Skip to content

Commit ef4f99f

Browse files
committed
add todo
1 parent 8bb1e9c commit ef4f99f

File tree

1 file changed

+3
-0
lines changed
  • packages/node/src/integrations

1 file changed

+3
-0
lines changed

packages/node/src/integrations/http.ts

+3
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ function _createWrappedHandlerMaker(
101101
return originalHandler.apply(this, arguments);
102102
}
103103

104+
// TODO(kmclb): The cache below mirrors the one on the browser side, but in a node context it may actually break
105+
// things, so figure that out and consider removing it
106+
104107
// apply user-provided filter (if any) and cache result for next time
105108
const spanDecisionCache: { [key: string]: boolean } = {};
106109
const shouldStartSpan = (url: string): boolean => {

0 commit comments

Comments
 (0)