Skip to content

Commit 9782eaf

Browse files
comment
1 parent 059508c commit 9782eaf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/tracing-internal/src/browser/browserTracingIntegration.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,7 @@ function isPerformanceEventTiming(entry: PerformanceEntry): entry is Performance
522522
return 'duration' in entry;
523523
}
524524

525+
/** We store up to 10 interaction candidates max to cap memory usage. This is the same cap as getINP from web-vitals */
525526
const MAX_INTERACTIONS = 10;
526527

527528
/** Creates a listener on interaction entries, and maps interactionIds to the origin path of the interaction */

0 commit comments

Comments
 (0)