summaryrefslogtreecommitdiff
path: root/src/tsg_rule.cpp
diff options
context:
space:
mode:
authorliuxueli <[email protected]>2023-06-07 14:42:07 +0800
committerliuxueli <[email protected]>2023-06-07 18:05:20 +0800
commit4b023ef2305b676ae9932d4f644d42de98f108ce (patch)
tree1c111583aa6af27a5da0b9e7a83020e5f2f9912f /src/tsg_rule.cpp
parent78f9aa6601f8f09979b8001397526d0f33b7a36b (diff)
OMPUB-941: 同时命中security(shunt)和intercept策略,优先执行security策略
Diffstat (limited to 'src/tsg_rule.cpp')
-rw-r--r--src/tsg_rule.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tsg_rule.cpp b/src/tsg_rule.cpp
index 7fe3784..da6f06b 100644
--- a/src/tsg_rule.cpp
+++ b/src/tsg_rule.cpp
@@ -1940,9 +1940,9 @@ struct maat *init_maat_feather(const char* conffile, char* instance_name, char *
MESA_load_profile_int_def(conffile, module,"DEFERRED_LOAD", &(deferred_load), 0);
MESA_load_profile_string_def(conffile,module,"TABLE_INFO",table_info, sizeof(table_info), "");
MESA_load_profile_string_def(conffile,module,"STAT_FILE",maat_stat_file, sizeof(maat_stat_file), "");
- MESA_load_profile_int_def(conffile, module,"EFFECT_INTERVAL_MS", &(effect_interval_ms), 60000);
- MESA_load_profile_int_def(conffile, module,"RULE_UPDATE_CHECK_INTERVAL_MS", &(rule_update_interval_ms), 60000);
- MESA_load_profile_int_def(conffile, module,"GARBAGE_COLLECT_MS", &(garbage_collect_ms), 60000);
+ MESA_load_profile_int_def(conffile, module,"EFFECT_INTERVAL_MS", &(effect_interval_ms), 1000); //
+ MESA_load_profile_int_def(conffile, module,"RULE_UPDATE_CHECK_INTERVAL_MS", &(rule_update_interval_ms), 1000); //check redis
+ MESA_load_profile_int_def(conffile, module,"GARBAGE_COLLECT_MS", &(garbage_collect_ms), 60000); //
struct maat_options *opts=maat_options_new();
size_t thread_max=(size_t)get_thread_count();