Switch from juju/ratelimit to golang.org/x/time/rate

This commit is contained in:
Jordan Liggitt
2018-01-19 02:08:51 -05:00
parent a9ed90f227
commit 4b9f00988b
13 changed files with 65 additions and 22 deletions

View File

@@ -61,6 +61,7 @@ type fakeTimer struct {
func newFakeTimer() *fakeTimer {
ft := &fakeTimer{
now: time.Date(2000, 0, 0, 0, 0, 0, 0, time.UTC),
c: make(chan time.Time),
updated: make(chan timerUpdate),
}