Skip to content

Commit

Permalink
Fixes alibaba#99, fix miss comparison of FlowRule.maxQueueingTimeMs
Browse files Browse the repository at this point in the history
  • Loading branch information
CarpenterLee committed Aug 29, 2018
1 parent cedd420 commit d716f0f
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,10 @@ public boolean equals(Object o) {
return false;
}

if (maxQueueingTimeMs != flowRule.maxQueueingTimeMs) {
return false;
}

return true;
}

Expand All @@ -291,6 +295,7 @@ public int hashCode() {
result = 31 * result + (int)(temp ^ (temp >>> 32));
result = 31 * result + warmUpPeriodSec;
result = 31 * result + controlBehavior;
result = 31 * result + maxQueueingTimeMs;
return result;
}

Expand Down

0 comments on commit d716f0f

Please sign in to comment.