API reference / @evolu/common / local-first/Protocol / defaultProtocolMessageRangesMaxSize

Variable: defaultProtocolMessageRangesMaxSize

const defaultProtocolMessageRangesMaxSize: number &
  Brand<"Int"> &
  Brand<"Between3000-100000">;

Defined in: packages/common/src/local-first/Protocol.ts:325

Default ProtocolMessageRangesMaxSize (30KB).

The standard size used across Evolu implementations. Relays with more resources can configure larger sizes to reduce roundtrips.

Was this page helpful?