defaultSendHighWaterMark constant

int const defaultSendHighWaterMark

Send bytes accepted but not yet handed to the OS before the transport reports itself backlogged. 256 KiB holds a few frames of a busy dashboard without tripping, while bounding app-side memory when the peer stalls (the kernel socket buffer sits below this).

Implementation

static const int defaultSendHighWaterMark = 256 * 1024;