From e789442a65c1a882500ae6d2e8b51cd525e83dc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BF=83=E9=9A=A8=E7=B7=A3=E5=8B=95?= Date: Sun, 14 Sep 2025 16:08:03 +0800 Subject: [PATCH] Repair the [Independent speed limit] function --- web/service/config.json | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/web/service/config.json b/web/service/config.json index 07959729..89532320 100644 --- a/web/service/config.json +++ b/web/service/config.json @@ -11,7 +11,8 @@ "services": [ "HandlerService", "LoggerService", - "StatsService" + "StatsService", + "ObservatoryService" ] }, "inbounds": [ @@ -21,7 +22,7 @@ "port": 62789, "protocol": "tunnel", "settings": { - "address": "127.0.0.1" + "address": "127.0.0.1" } } ], @@ -39,20 +40,29 @@ "tag": "blocked", "protocol": "blackhole", "settings": {} + }, + { + "tag": "api", + "protocol": "blackhole" } ], "policy": { "levels": { "0": { - "statsUserDownlink": true, - "statsUserUplink": true + "downlinkOnly": 0, + "uplinkOnly": 0, + "handshake": 8, + "connIdle": 500, + "statsUserUplink": true, + "statsUserDownlink": true, + "statsUserOnline": true } }, "system": { "statsInboundDownlink": true, "statsInboundUplink": true, - "statsOutboundDownlink": false, - "statsOutboundUplink": false + "statsOutboundDownlink": true, + "statsOutboundUplink": true } }, "routing": { @@ -85,5 +95,6 @@ "metrics": { "tag": "metrics_out", "listen": "127.0.0.1:11111" - } + }, + "observatory": {} }