Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Commit

Permalink
修复配置文件重载控制器计划任务没有正确停止的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghost-chu committed Jan 25, 2024
1 parent c26263c commit a582f6f
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@ public TrafficController(TrafficControlManager parent, TrafficShapingRule rule,
return;
}

if(!start){
return;
}

// 检查是否存在手动覆写
if (shaper.getWriteLimit() != 0 && shaper.getWriteLimit() != rule.getBurstWriteLimit() && shaper.getWriteLimit() != rule.getAvgWriteLimit()) {
// 不允许更改
Expand Down

0 comments on commit a582f6f

Please sign in to comment.