Skip to content

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.

4 participants