mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2025-10-28 20:32:42 +00:00
Add cache system for configs, rulesets and subscriptions
Add proxy_config option for downloading external config files. Optimize codes.
This commit is contained in:
@@ -36,8 +36,9 @@ quan_rule_base=base/quan.conf
|
||||
;Quantumult X config base used by the generator, supports local files/URL
|
||||
quanx_rule_base=base/quanx.conf
|
||||
|
||||
;Proxy used to download rulesets or subscriptions, set to NONE or empty to disable it, set to SYSTEM to use system proxy.
|
||||
;Proxy used to download configs, rulesets or subscriptions, set to NONE or empty to disable it, set to SYSTEM to use system proxy.
|
||||
;Accept cURL-supported proxies (http:// https:// socks4a:// socks5://)
|
||||
proxy_config=SYSTEM
|
||||
proxy_ruleset=SYSTEM
|
||||
proxy_subscription=NONE
|
||||
|
||||
@@ -154,3 +155,7 @@ port=25500
|
||||
print_debug_info=false
|
||||
max_pending_connections=10240
|
||||
max_concurrent_threads=4
|
||||
enable_cache=false
|
||||
cache_subscription=60
|
||||
cache_config=300
|
||||
cache_ruleset=21600
|
||||
|
||||
Reference in New Issue
Block a user