XrayR-project / XrayR

A Xray backend framework that can easily support many panels. 一个基于Xray的后端框架,支持V2ay,Trojan,Shadowsocks协议,极易扩展,支持多面板对接
https://xrayr-project.github.io/XrayR-doc/
Mozilla Public License 2.0
2.11k stars 840 forks source link

动态限速配置后不起作用 #212

Closed asdjkm1234 closed 1 year ago

asdjkm1234 commented 1 year ago

如题,只有SpeedLimit: 0 这个配置起作用 请问动态限速是针对用户在某个节点下的限速吗? 能不能实现节点&用户双重限速? 如图:限制6-5mbps Snipaste_2023-01-14_20-27-23 但是速度依旧还是那么快 Snipaste_2023-01-14_20-28-20 后台日志并无报错 Snipaste_2023-01-14_20-31-32

asdjkm1234 commented 1 year ago

修改配置后已删除docker容器重新docker-compose up -d 还是不行

asdjkm1234 commented 1 year ago

请问动态限速是针对用户在某个节点下的限速吗? 就类似java语言中的“局部变量”一样 全体用户在某个节点中的限速,而不是在v2board设置用户限速之后,全体节点都生效。 因为某些节点的宽带很小,这样设置了相当于没设置,设置小了用一些大宽带的节点又太慢。

asdjkm1234 commented 1 year ago

使用版本: v2board 1.7.2 xrayr 0.8.8

Septrum101 commented 1 year ago

I think that before open a issue, you should read document first. https://xrayr-project.github.io/XrayR-doc/gong-neng-shuo-ming/speedlimit.html

asdjkm1234 commented 1 year ago

我读了文档,但是我设置了限速,即使我已经取消了SpeedLimit选项,无论如何也达不到动态限速里面说的速度 可能是鄙人理解力不好 具体请看我发的配置图片

asdjkm1234 commented 1 year ago

Snipaste_2023-01-14_22-39-40

pocketW commented 1 year ago

The default speed limit denotes the value set by SpeedLimit in your config or sent by your panel if supported. You should set the default speed limit to a >0 value.

If you do not set a default value, after the dynamic speed limit is activated. Try to download it again (a new connection) to check if the speed has been limited. You can check the log to see whether the dynamic speed limit is activated or not.