Sha256: 194998b68e90b324f2ffc59314a464c034ea99b1f01dd1c312e6fa91aef3ba25
Contents?: true
Size: 1.45 KB
Versions: 1
Compression:
Stored size: 1.45 KB
Contents
## [0.4.1] - 2024-02-11 - Make sure Pecorino works on Ruby 2.7 as well by removing 3.x-exclusive syntax ## [0.4.0] - 2024-01-22 - Use Bucket#connditional_fillup inside Throttle and throttle only when the capacity _would_ be exceeded, as opposed to throttling when capacity has already been exceeded. This allows for finer-grained throttles such as "at most once in", where filling "exactly to capacity" is a requirement. It also provides for more accurate and easier to understand throttling in general. - Make sure Bucket#able_to_accept? allows the bucket to be filled to capacity, not only to below capacity - Improve YARD documentation - Allow "conditional fillup" - only add tokens to the leaky bucket if the bucket has enough space. - Fix `over_time` leading to incorrect `leak_rate`. The divider/divisor were swapped, leading to the inverse leak rate getting computed. ## [0.3.0] - 2024-01-18 - Allow `over_time` in addition to `leak_rate`, which is a more intuitive parameter to tweak - Set default `block_for` to the time it takes the bucket to leak out completely instead of 30 seconds ## [0.2.0] - 2024-01-09 - [Add support for SQLite](https://github.com/cheddar-me/pecorino/pull/9) - [Use comparisons in SQL to determine whether the leaky bucket did overflow](https://github.com/cheddar-me/pecorino/pull/8) - [Change the way Structs are defined to appease Tapioca/Sorbet](https://github.com/cheddar-me/pecorino/pull/6) ## [0.1.0] - 2023-10-30 - Initial release
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pecorino-0.4.1 | CHANGELOG.md |