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

web: ensure snapshots are under 4MB upload limit #4150

Merged
merged 3 commits into from Feb 1, 2021

Conversation

milas
Copy link
Member

@milas milas commented Feb 1, 2021

Truncate logs included in the snapshot upload to avoid being rejected
by the server for > 4MB size.

The logs are truncated to 2MB as there is a substantial amount of
overhead from JSON as well as the rest of the actual UI state that
needs to fit in there as well.

Closes #3687.

Truncate logs included in the snapshot upload to avoid being rejected
by the server for > 4MB size.

The logs are truncated to 2MB as there is a substantial amount of
overhead from JSON as well as the rest of the actual UI state that
needs to fit in there as well.
@milas milas added the bug Something isn't working label Feb 1, 2021
@milas milas requested a review from nicks February 1, 2021 21:47
@shortcut-integration
Copy link

This pull request has been linked to Clubhouse Story #11079: snapshot creation errors if it's larger than 4mb.

web/src/HUD.tsx Outdated Show resolved Hide resolved
@milas milas merged commit 24ede89 into master Feb 1, 2021
@milas milas deleted the milas/ch11079/snapshot-creation-errors branch February 1, 2021 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

snapshot creation errors if it's larger than 4mb
2 participants