ksud: larger config value size limit, update docs

This commit is contained in:
Ylarod
2025-11-22 17:00:16 +08:00
committed by ShirkNeko
parent 56a028d60d
commit 823a3f9767

View File

@@ -14,7 +14,7 @@ const MODULE_CONFIG_VERSION: u32 = 1;
// Validation limits
pub const MAX_CONFIG_KEY_LEN: usize = 256;
pub const MAX_CONFIG_VALUE_LEN: usize = 256;
pub const MAX_CONFIG_VALUE_LEN: usize = 1024 * 1024; // 1MB
pub const MAX_CONFIG_COUNT: usize = 32;
#[derive(Debug, Clone, Copy, PartialEq, Eq)]