Commit Graph

2 Commits

Author SHA1 Message Date
Mathew Sutcliffe
2f54e00d65 Ref T184 Minor optimization in CTokenBucket: avoid converting interval to seconds
every time a token is consumed, by doing the conversion once in the constructor.
2017-11-12 13:48:05 +00:00
Mathew Sutcliffe
dbb67b385b Ref T184 Moved CTokenBucket from BlackCore to BlackMisc. 2017-11-12 13:48:02 +00:00