-
- Downloads
Remove N+1 query for author in issues API
This was being masked by the statement cache because only one author was used per issue in the test.. Also adds support for an Rspec matcher `exceed_all_query_limit`.
Showing
- changelogs/unreleased/sh-add-uncached-query-limiter.yml 5 additions, 0 deletionschangelogs/unreleased/sh-add-uncached-query-limiter.yml
- doc/development/query_recorder.md 13 additions, 0 deletionsdoc/development/query_recorder.md
- lib/api/issues.rb 1 addition, 1 deletionlib/api/issues.rb
- spec/requests/api/issues_spec.rb 5 additions, 3 deletionsspec/requests/api/issues_spec.rb
- spec/support/helpers/query_recorder.rb 4 additions, 3 deletionsspec/support/helpers/query_recorder.rb
- spec/support/matchers/exceed_query_limit.rb 50 additions, 15 deletionsspec/support/matchers/exceed_query_limit.rb
Please register or sign in to comment