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

fixreplays): Remove segment limit #3984

Merged
merged 7 commits into from
Sep 3, 2024

Conversation

cmanallen
Copy link
Member

There is a "bug" in the SDK where a replay will emit more than one segment every 5 seconds. This leads to certain customers exceeding the segment limit earlier than others. By removing the limit here we allow the SDK to determine the cap based on the duration of the replay.

As a service protection measure this limit fails to catch bad actors and only triggers when a malformed SDK exceeds its limit. Removing this limit and logging will allow us to fix (or not) SDK issues without impacting customers.

#skip-changelog

@cmanallen cmanallen requested a review from a team as a code owner September 3, 2024 13:41
@cmanallen
Copy link
Member Author

@jjbayer Added a metric counter as well.

@cmanallen cmanallen merged commit f84b57e into master Sep 3, 2024
23 checks passed
@cmanallen cmanallen deleted the cmanallen/replays-remove-length-validation branch September 3, 2024 15:29
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.

2 participants