fix 自动限速

This commit is contained in:
thsrite 2023-08-31 19:33:16 +08:00
parent 37bada89ef
commit 0cf11db76a

View File

@ -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: