RateLimiter perWeek and perMonth methods #53001
Unanswered
sts-ryan-holton
asked this question in
Ideas
Replies: 1 comment 2 replies
-
Doesn't Limit implement the Macroable trait ? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm implementing a feature into my project that allows a user to provide "deduplication" and "rate-limitng" of leads through the system. We need "weeks" and "months" for this to work, but there's no method on the
Limit
facade forperWeek
orperMonth
.Given that these appear to just be time calculations behind the scenes, may I suggest either introducing some kind of customisation to allow a specific period, or add more methods like:
Beta Was this translation helpful? Give feedback.
All reactions