From f500dcac8bb5c55b563812dc79580621c91ab62e Mon Sep 17 00:00:00 2001 From: midoks Date: Sat, 11 Feb 2023 16:06:25 +0800 Subject: [PATCH] Update init_worker.lua --- plugins/op_waf/waf/lua/init_worker.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/op_waf/waf/lua/init_worker.lua b/plugins/op_waf/waf/lua/init_worker.lua index ef406b3c2..6185a646b 100644 --- a/plugins/op_waf/waf/lua/init_worker.lua +++ b/plugins/op_waf/waf/lua/init_worker.lua @@ -15,6 +15,11 @@ local json = require "cjson" local __C = require "waf_common" local C = __C:getInstance() +local waf_config = require "waf_config" +local waf_site_config = require "waf_site" +C:setConfData(waf_config, waf_site_config) +C:setDebug(true) + local function timer_stats_total_log(premature) C:timer_stats_total() end