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

Raise the WebSocket connection's max_message_size to 256MB #1398

Closed
wants to merge 1 commit into from

Conversation

romac
Copy link
Member

@romac romac commented Sep 29, 2021

Closes: #1299

Description

Increase the maximum size of WebSocket messages to 256MB to deal with Osmosis nodes sometimes emitting huge events.
Also increases the max frame size to 64MB to avoid splitting such messages over too many frames.


For contributor use:

  • Added a changelog entry, using unclog.
  • If applicable: Unit tests written, added test to CI.
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Updated relevant documentation (docs/) and code comments.
  • Re-reviewed Files changed in the Github PR explorer.

@adizere
Copy link
Member

adizere commented Sep 30, 2021

The only way to test this is in production with the Osmosis epoch blocks?

CC @mircea-c & @greg-szabo I think this may be of interest!

@mircea-c
Copy link

Sorry about the delay everyone. I've started running this for the osmosis relayer. Will report back next week.

@adizere
Copy link
Member

adizere commented Oct 19, 2021

This branch has been deployed for a few days (ref #1466) with Cephalopod.

@adizere
Copy link
Member

adizere commented Nov 23, 2021

Should we drop this PR? It seems like we don't understand the consequence of the changes in this PR, and Thane managed to fix (most of) our WS problems with tendermint/tendermint#7230.

@romac
Copy link
Member Author

romac commented Nov 24, 2021

Agreed, let's close.

@romac romac closed this Nov 24, 2021
@romac romac deleted the romac/tungstenite-max-size branch January 26, 2022 14:19
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.

Websocket size constraints
3 participants