My route is only being hit once but each request is being counted as 4 requests by the rate limiter, thus the limit for 1 minute is hit after only 5 requests instead of 20. If I comment out 2 of the rules, it hits the limit after 10 requests. I believe there is a bug leading to each request being counted N times when you have N rules.
My current workaround is to just change the code to...
My route is only being hit once but each request is being counted as 4 requests by the rate limiter, thus the limit for 1 minute is hit after only 5 requests instead of 20. If I comment out 2 of the rules, it hits the limit after 10 requests. I believe there is a bug leading to each request being counted N times when you have N rules.
My current workaround is to just change the code to...