Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(replay): Debounced flushes not respecting maxWait #7207

Merged
merged 1 commit into from Feb 16, 2023

Conversation

billyvg
Copy link
Member

@billyvg billyvg commented Feb 16, 2023

This is happening due to a bug in the debounce function where it does not respect maxWait if its value is the same as wait (https://github.com/getsentry/sentry-javascript/blob/develop/packages/replay/src/util/debounce.ts#L60) . This is causing poor fidelity in Replays and possibly memory issues if it never flushes after the initial checkout.

This is just a quick fix until we fix debounce.

This is happening due to a bug in the `debounce` function where it does not respect `maxWait` if its value is the same as `wait`. This is causing poor fidelity in Replays and possibly memory issues if it never flushes after the initial checkout.
@billyvg billyvg marked this pull request as ready for review February 16, 2023 17:13
@billyvg billyvg merged commit b66559f into develop Feb 16, 2023
@billyvg billyvg deleted the fix-replay-fix-debounce-issues branch February 16, 2023 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants