Function check_config_size
pub fn check_config_size(what: &str, bytes: usize) -> Result<()>Expand description
Refuses a config text that is over MAX_CONFIG_BYTES.
what names the source in the error, so the operator learns which of the
three config paths produced the oversized text.
ยงErrors
SpikeError::ResourceCap if text is longer than MAX_CONFIG_BYTES.