Should we need to truncate the queries after out put the queries?
Closed this issue · 0 comments
yankewei commented
Now, we have a unit test that contains multiple same requests, because we want to test the rate limit.
There is no N+1 problem in a single request, but if we process multiple requests, the N+1 problem will disappear, because, for every request, it will process the queryDetectorMiddleware, and the query count will be increased.