Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Schedule-RateLimiter | Distribution: Mageia |
Version: 0.10.0 | Vendor: Mageia.Org |
Release: 11.mga9 | Build date: Sun Mar 20 13:21:14 2022 |
Group: Development/Perl | Build host: localhost |
Size: 12599 | Source RPM: perl-Schedule-RateLimiter-0.10.0-11.mga9.src.rpm |
Packager: umeabot <umeabot> | |
Url: https://metacpan.org/release/Schedule-RateLimiter | |
Summary: Prevent events from happening too quickly |
Schedule::RateLimiter provides a way to voluntarily restrict how many times a given action may take place within a specified time frame. Such a tool may be useful if you have written something which periodically polls some public resource and want to ensure that you do not overburden that resource with too many requests. Initially, one might think that solving this problem would be as simple as sleeping for the number of seconds divided by the number of iterations in between each event. However, that would only be correct if the event took no time at all. If you know exactly how much time each event is going to take then you could build an even more complicated one-liner such as this: sleep( (seconds / iterations) - single_event_time ) This module is intended to address the other cases when the exact run-time of each event is unknown and variable. This module will try very hard to allow an event to happen as many times as possible without exceeding the specified bounds.
GPL+ or Artistic
* Sun Mar 20 2022 umeabot <umeabot> 0.10.0-11.mga9 + Revision: 1805622 - Mageia 9 Mass Rebuild
/usr/share/doc/perl-Schedule-RateLimiter /usr/share/doc/perl-Schedule-RateLimiter/Changes /usr/share/doc/perl-Schedule-RateLimiter/MYMETA.yml /usr/share/doc/perl-Schedule-RateLimiter/README /usr/share/man/man3/Schedule::RateLimiter.3pm.xz /usr/share/perl5/vendor_perl/Schedule/RateLimiter.pm
Generated by rpm2html 1.8.1
Fabrice Bellet, Wed Jan 22 09:05:03 2025