You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RateController on the delay stats update doesn't use the internals state. Should we make a transition from the internal state, not from the current one (which is always increase actually)? Snippet from the rate_controller.go :
func (c*rateController) onDelayStats(dsDelayStats) {
now:=time.Now()
if!c.init {
c.delayStats=dsc.delayStats.State=stateIncreasec.init=truereturn
}
c.delayStats=ds// Transition from the current state?c.delayStats.State=c.delayStats.State.transition(ds.Usage)
ifc.delayStats.State==stateHold {
return
}
// ... more logic
}
Your environment.
What did you do?
RateController on the delay stats update doesn't use the internals state. Should we make a transition from the internal state, not from the current one (which is always increase actually)? Snippet from the rate_controller.go :
What did you expect?
Using the internal state (smth like this):
What happened?
The text was updated successfully, but these errors were encountered: