Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(replay): Debounced flushes not respecting
maxWait
(#7207)
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`.
- Loading branch information