Update init.lua

pull/216/head
midoks 3 years ago
parent a6e59ae37c
commit c9a58c7ea5
  1. 2
      plugins/op_waf/waf/lua/init.lua

@ -316,7 +316,7 @@ local function waf_cc_increase()
local cache_rand = ngx.shared.limit:get(cache_rand_key)
if not cache_rand then
cache_rand = get_random(8)
ngx.shared.limit:set(cache_rand_key,cache_rand,10)
ngx.shared.limit:set(cache_rand_key,cache_rand,30)
end
make_uri_str = "waf_unbind_"..cache_rand.."_"..cache_token

Loading…
Cancel
Save