accounting: refactor bwlimit code to allow for multiple slots

This commit is contained in:
Nick Craig-Wood
2021-01-30 17:39:30 +00:00
parent 31de631b22
commit 3b6df71838
7 changed files with 127 additions and 90 deletions
+1 -1
View File
@@ -7,4 +7,4 @@ package accounting
// startSignalHandler() is Unix specific and does nothing under non-Unix
// platforms.
func startSignalHandler() {}
func (tb *tokenBucket) startSignalHandler() {}