Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
web: ensure snapshots are under 4MB upload limit (#4150)
Truncate logs included in the snapshot upload to avoid being rejected by the server for > 4MB size. The logs are truncated to 1MB 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.
- Loading branch information
Showing
3 changed files
with
79 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters