[][src]Constant simple_message_channels::MAX_MESSAGE_SIZE

pub const MAX_MESSAGE_SIZE: u64 = 1024 * 1024 * 8; // 8_388_608u64

The max message size (in bytes)

The limit is arbitrary, and taken from the JavaScript implementation. (see: https://github.com/mafintosh/simple-message-channels/blob/master/index.js) TODO: This should be configurable.