fix 自动限速
This commit is contained in:
parent
37bada89ef
commit
0cf11db76a
@ -72,6 +72,7 @@ class SpeedLimiter(_PluginBase):
|
||||
try:
|
||||
# 总带宽
|
||||
self._bandwidth = int(float(config.get("bandwidth") or 0)) * 1000000
|
||||
if self._bandwidth > 0:
|
||||
# 自动限速开关
|
||||
self._auto_limit = True
|
||||
except Exception:
|
||||
|
Loading…
x
Reference in New Issue
Block a user