internal/libs: delete unused functionality (#7569)

This commit is contained in:
Sam Kleinman
2022-01-12 15:55:42 -05:00
committed by GitHub
parent e07c4cdcf2
commit 25e665df17
4 changed files with 0 additions and 75 deletions
-7
View File
@@ -55,13 +55,6 @@ func (t *ThrottleTimer) Set() {
}
}
func (t *ThrottleTimer) Unset() {
t.mtx.Lock()
defer t.mtx.Unlock()
t.isSet = false
t.timer.Stop()
}
// For ease of .Stop()'ing services before .Start()'ing them,
// we ignore .Stop()'s on nil ThrottleTimers
func (t *ThrottleTimer) Stop() bool {