@ -131,7 +131,6 @@ var ok = setInterval(function(){
ajax('JSON',true).post('/{uri}',{'pass':"ok"},function(data){
if (data['status'] == 0){
// document.getElementById('status').innerHTML = "ok";
location.reload();
}
});
@ -336,7 +336,7 @@ function _M.inc_log(self, name, rule)
ngx.shared.limit:set(total_path,total_log)
-- 异步执行
ngx.timer.at(1, timer_at_inc_log)
ngx.timer.at(0, timer_at_inc_log)
end