Should we need to truncate the queries after out put the queries?
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.
关闭于 2024-10-04 0 条评论