为了便于单元测试,支持设置垃圾回收时间,默认10秒。

This commit is contained in:
zhengchao
2021-04-28 12:06:34 +08:00
parent 66c294feae
commit c1355dd3e5
4 changed files with 25 additions and 12 deletions

View File

@@ -290,8 +290,9 @@ struct _Maat_feather_t
struct source_redis_ctx mr_ctx;
};
int still_working;
int scan_interval_ms;
int effect_interval_ms;
int rule_update_checking_interval_ms;
int rule_effect_interval_ms;
int garbage_collection_timeout_ms;
int cumulative_update_off;
int stat_on;
int perf_on;