status-go/protocol/common
Andrea Maria Piana 75e0809f50 Split datasync messages in batches
When sending messages in quick succession, it might be that multiple
messages are batched together in datasync, resulting in a single large
payload.
This commit changes the behavior so that we can pass a max-message-size
and we split the message in batches before sending.

A more elegant way would be to split at the transport layer (i.e
waku/whisper), but that would be incompatible with older client.

We can still do that eventually to support larger messages.
2020-11-05 12:45:29 +01:00
..
chat_entity.go describe chat entity comment 2020-07-30 20:21:08 +02:00
crypto.go Polish up and address review feedback 2020-07-27 08:51:28 +02:00
errors.go Use ErrRecordNotFound instead of sql.ErrNoRows 2020-10-08 13:23:00 +02:00
feature_flags.go Add feature flag for push notifications and bump version 2020-07-27 17:20:16 +02:00
message.go Link previews support (#2059) 2020-10-27 19:35:28 +02:00
message_processor.go Split datasync messages in batches 2020-11-05 12:45:29 +01:00
message_processor_test.go move contact code to subscription 2020-08-18 16:29:37 +02:00
message_test.go Link previews support (#2059) 2020-10-27 19:35:28 +02:00
raw_message.go Polish up and address review feedback 2020-07-27 08:51:28 +02:00