Showing
1 changed file
with
0 additions
and
6 deletions
@@ -202,12 +202,6 @@ function main() | @@ -202,12 +202,6 @@ function main() | ||
202 | ngx.log(ngx.ERR, "call method [check_malIp] failed.", errMsg) | 202 | ngx.log(ngx.ERR, "call method [check_malIp] failed.", errMsg) |
203 | end | 203 | end |
204 | 204 | ||
205 | - status, errMsg = pcall(rate_limit_perIP) | ||
206 | - if not status then | ||
207 | - ngx.log(ngx.ERR, "call method [rate_limit perIp] failed.", errMsg) | ||
208 | - end | ||
209 | - | ||
210 | - | ||
211 | status, errMsg = pcall(rate_limit) | 205 | status, errMsg = pcall(rate_limit) |
212 | if not status then | 206 | if not status then |
213 | ngx.log(ngx.ERR, "call method [rate_limit] failed.", errMsg) | 207 | ngx.log(ngx.ERR, "call method [rate_limit] failed.", errMsg) |
-
Please register or login to post a comment