kv结构-数据安全校验

This commit is contained in:
hahwu 2025-12-04 18:18:11 +08:00
parent 3a10713337
commit f25fbb2d4e

View File

@ -16,7 +16,7 @@ func (f *KvMod) SetVar(key int, value string) {
if len(value) > 500 {
return
}
if len(f.Data) > 50 {
if len(f.Data) > 150 {
return
}
f.Data[key] = value