Closed udoprog closed 2 years ago
Current refill implementation was incorrectly implemented, so a maximum token retention of 0 would cause it to never wake up.
0
Here instead we fill up the number of tokens that are added each cycle and clamp it to max allowing the over-max example to work again.
over-max
Also adjusts the documentation for #13
Current refill implementation was incorrectly implemented, so a maximum token retention of
0
would cause it to never wake up.Here instead we fill up the number of tokens that are added each cycle and clamp it to max allowing the
over-max
example to work again.Also adjusts the documentation for #13