Repair the [Independent speed limit] function

This commit is contained in:
心隨緣動 2025-09-14 16:08:03 +08:00 committed by GitHub
parent 8f0a13bc8e
commit e789442a65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,7 +11,8 @@
"services": [ "services": [
"HandlerService", "HandlerService",
"LoggerService", "LoggerService",
"StatsService" "StatsService",
"ObservatoryService"
] ]
}, },
"inbounds": [ "inbounds": [
@ -21,7 +22,7 @@
"port": 62789, "port": 62789,
"protocol": "tunnel", "protocol": "tunnel",
"settings": { "settings": {
"address": "127.0.0.1" "address": "127.0.0.1"
} }
} }
], ],
@ -39,20 +40,29 @@
"tag": "blocked", "tag": "blocked",
"protocol": "blackhole", "protocol": "blackhole",
"settings": {} "settings": {}
},
{
"tag": "api",
"protocol": "blackhole"
} }
], ],
"policy": { "policy": {
"levels": { "levels": {
"0": { "0": {
"statsUserDownlink": true, "downlinkOnly": 0,
"statsUserUplink": true "uplinkOnly": 0,
"handshake": 8,
"connIdle": 500,
"statsUserUplink": true,
"statsUserDownlink": true,
"statsUserOnline": true
} }
}, },
"system": { "system": {
"statsInboundDownlink": true, "statsInboundDownlink": true,
"statsInboundUplink": true, "statsInboundUplink": true,
"statsOutboundDownlink": false, "statsOutboundDownlink": true,
"statsOutboundUplink": false "statsOutboundUplink": true
} }
}, },
"routing": { "routing": {
@ -85,5 +95,6 @@
"metrics": { "metrics": {
"tag": "metrics_out", "tag": "metrics_out",
"listen": "127.0.0.1:11111" "listen": "127.0.0.1:11111"
} },
"observatory": {}
} }