feat: cleanup

This commit is contained in:
pablo 2025-07-03 12:12:20 +03:00
parent a5ff6a1fbd
commit 0f3dfc82c6

View File

@ -110,7 +110,6 @@ proc update(bucket: TokenBucket, currentTime: Moment) =
updateStrict(bucket, currentTime)
## Returns the available capacity ratio of the bucket.
## This is a ratio of the bucket capacity that is currently available.
## It is a float number between 0.0 (empty) and 1.0 (full).
proc getAvailableCapacityRatio*(bucket: TokenBucket, currentTime: Moment): float =
if periodElapsed(bucket, currentTime):