Interface: PayloadLimitsConfig
worker.PayloadLimitsConfig
Payload size-limit configuration for a connection.
Payload size-limit enforcement is an experimental feature; APIs may change without notice.
Properties
memoWarnSize
• Optional memoWarnSize: number
Warning threshold, in bytes, for outbound memo size. Over-threshold memos are logged but still
sent to the server. Set to 0 to disable.
Default
2KiB
payloadsWarnSize
• Optional payloadsWarnSize: number
Warning threshold, in bytes, for the size of an outbound payload-bearing field. Over-threshold
fields are logged but still sent to the server. Set to 0 to disable.
Default
512KiB