liveblocks / liveblocks

Liveblocks is the platform for adding collaborative editing, comments, and notifications into your application.
https://liveblocks.io
Apache License 2.0
3.51k stars 281 forks source link

Throw an error when payloads breach the size limit #65

Open captaindev404 opened 2 years ago

captaindev404 commented 2 years ago

When a user exceeds the payload size limit (128KiB), the channel subscription does not throw an error. Generating a specific error would allow the developer to optimize the payload size (splitting large lists of data, ...).

Discord: https://discord.com/channels/913109211746009108/913158542565994606/941052270768971786 Related issue: https://github.com/liveblocks/liveblocks/issues/34#issuecomment-992454696

stevenfabre commented 1 year ago

Another person requested this here: https://discord.com/channels/913109211746009108/913158542565994606/1106103402305441852