Simplistic rate limiter
Useful in cases when you don't want to repeat an operation too often. For example, to prevent flooding the logs with the same message.
Example:
use ;
use RateLimiter;
use warn;
Useful in cases when you don't want to repeat an operation too often. For example, to prevent flooding the logs with the same message.
Example:
use ;
use RateLimiter;
use warn;