couch-kit
    Preparing search index...

    Variable DEFAULT_MAX_MESSAGE_BYTESConst

    DEFAULT_MAX_MESSAGE_BYTES: number = ...

    Default maximum size (in bytes) of an inbound client message. Frames larger than this are discarded before JSON.parse, bounding the memory a single malicious LAN client can force the host to allocate. Generous enough for data-URI avatars in JOIN payloads while blocking multi-megabyte abuse.