From c9a58c7ea519639f47ac386662b97896831b3a49 Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 12 Oct 2022 14:36:57 +0800 Subject: [PATCH] Update init.lua --- plugins/op_waf/waf/lua/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/op_waf/waf/lua/init.lua b/plugins/op_waf/waf/lua/init.lua index 68a0f16a4..e7f07b5ca 100644 --- a/plugins/op_waf/waf/lua/init.lua +++ b/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