relayDefaultMaxBodyBytes top-level constant

int const relayDefaultMaxBodyBytes

The default relay body cap — the single literal behind relayDefaultLimits.maxBodyBytes and the LocalHub constructor default (issue #794 review: the 10 MiB cap lived as two literals).

Implementation

const relayDefaultMaxBodyBytes = 10 * 1024 * 1024;