Skip to main content

check_code_exec_limit

Function check_code_exec_limit 

Source
pub fn check_code_exec_limit(ip: &str) -> Result<(), String>
Expand description

检查代码执行请求的双层速率限制(每秒突发 + 每日总额)。

两层任一被限即拒绝。返回中文错误消息,供 server function 直接透传给前端。