Skip to content

Commit

Permalink
optimize code
Browse files Browse the repository at this point in the history
  • Loading branch information
louyuting committed May 8, 2020
1 parent 433f02d commit 5fab2ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/freq_params_traffic/slot.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,10 @@ func (s *FreqPramsTrafficSlot) Check(ctx *base.EntryContext) *base.TokenResult {
// Handle waiting action.
time.Sleep(time.Duration(waitMs) * time.Millisecond)
}
base.RefurbishTokenResult(result)
continue
}
base.RefurbishTokenResult(result)
}

return base.NewTokenResultPass()
Expand Down

0 comments on commit 5fab2ef

Please sign in to comment.