Skip to content

Commit 1a6a4d9

Browse files
committed
ref: Increase buffer *2
1 parent b0a0cd9 commit 1a6a4d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/apm/src/integrations/tracing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ export class Tracing implements Integration {
189189
const oldCallback = performance.onresourcetimingbufferfull;
190190
performance.onresourcetimingbufferfull = function(_event: unknown): void {
191191
logger.warn('[Tracing]: Resource Timing Buffer is FULL! Increasing it to 300');
192-
performance.setResourceTimingBufferSize(300);
192+
performance.setResourceTimingBufferSize(Tracing._performanceCursor * 2);
193193
if (oldCallback) {
194194
oldCallback.apply(this, arguments);
195195
}

0 commit comments

Comments
 (0)