Skip to content

Repeated offenders #196

Answered by laurentS
michelkluger asked this question in Q&A
Discussion options

You must be logged in to vote

I think you could use the usual limiter with a dynamic limit value, as shown in this test.

I'd suggest you look at #13 (comment) and adapt that logic to provide a limit on each call. You will probably need some sort of data storage in your backend to keep track of each user's state with respect to the limit.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by michelkluger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants