Function worker_max_message_bytes_from_env_with_default
Function worker_max_message_bytes_from_env_with_default
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
pub fn worker_max_message_bytes_from_env_with_default(
default: usize,
) -> Result<usize, String>
Reads the host override, falling back to a plugin’s execution-message default.
The host resolves this once per activation and passes the effective value to its worker. SDKs use worker_max_message_bytes_from_env to read that value.
Errors
Returns an error for an invalid override or an out-of-range fallback.