Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

feat: add message byte batching #235

Merged
merged 3 commits into from
Nov 25, 2022
Merged

Commits on Nov 24, 2022

  1. feat: add message byte batching

    Adds a new setting `minSendBytes` that is `undefined` by default.
    
    If `undefined` all messages sent through multiplexed streams will
    be serialized and sent over the wire immediately.
    
    If set to a number, it will be used as a byte value, and the
    serialized bytes of all messages sent during the current tick will
    be buffered up to that value.
    
    Once either the buffer lengths hits that value or the next tick
    begins, all bytes in the buffer will be sent over the wire.
    achingbrain committed Nov 24, 2022
    Configuration menu
    Copy the full SHA
    3c6edf4 View commit details
    Browse the repository at this point in the history
  2. chore: add readme note

    achingbrain committed Nov 24, 2022
    Configuration menu
    Copy the full SHA
    1420df9 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2022

  1. Configuration menu
    Copy the full SHA
    2ee67c9 View commit details
    Browse the repository at this point in the history