add dynamic weight update fuction to the superviser
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
proxy:{% for idx in running_idx %}
|
||||
- url: "socks5://192.168.122.128:108{{idx}}"
|
||||
weight: 5
|
||||
proxy:{% for i in instances %}
|
||||
- url: "socks5://192.168.122.128:{{1080+i["idx"]}}"
|
||||
weight: {{i["weight"]}}
|
||||
{% end %}
|
||||
load-balance-mode: "cached-shuffle"
|
||||
cache-clean-interval: 0
|
||||
dynamic-weight-file: "{{dynamic_weight_fp}}"
|
||||
|
||||
Reference in New Issue
Block a user