Add cache system for configs, rulesets and subscriptions

Add proxy_config option for downloading external config files.
Optimize codes.
This commit is contained in:
Tindy X committed 2020-02-19 22:14:18 +08:00
1 parent 8bbc163d08
commit 19742630f5
8 files changed
+143 -36

No files matched your search

+5
View File
@@ -11,6 +11,7 @@ common:
mellow_rule_base: base/mellow.conf
quan_rule_base: base/quan.conf
quanx_rule_base: base/quanx.conf
proxy_config: SYSTEM
proxy_ruleset: SYSTEM
proxy_subscription: NONE
append_proxy_type: false
@@ -76,3 +77,7 @@ advanced:
print_debug_info: false
max_pending_connections: 10240
max_concurrent_threads: 4
enable_cache: false
cache_subscription: 60
cache_config: 300
cache_ruleset: 21600