diff options
author | Adam Niedzielski <adamsunday@gmail.com> | 2017-01-13 10:12:27 -0500 |
---|---|---|
committer | Adam Niedzielski <adamsunday@gmail.com> | 2017-01-16 11:58:16 -0500 |
commit | cf3be218e17d147cb9b1395af6b968d47b56ce0a (patch) | |
tree | ddd59c0f77ce8824843b253bd5b8981598afb303 /changelogs/unreleased/speed-up-dashboard-milestone-index.yml | |
parent | 0ff88ac56281db18afa37981530d97da0ea8e38a (diff) | |
download | gitlab-ce-cf3be218e17d147cb9b1395af6b968d47b56ce0a.tar.gz |
Speed up dashboard milestone index by scoping IssuesFinder to user authorized projectsspeed-up-dashboard-milestone-index
It improves performance in dashboard milestone index page by passing a
hint to "IssuesFinder". "IssuesFinder" generates a more performant query
when it is limited to authorized projects for user.
In the dashboard we already limit the projects to these authorized for
user (see "Dashboard::ApplicationController#projects"), so we can safely
pass this option to "IssuesFinder".
Diffstat (limited to 'changelogs/unreleased/speed-up-dashboard-milestone-index.yml')
-rw-r--r-- | changelogs/unreleased/speed-up-dashboard-milestone-index.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/speed-up-dashboard-milestone-index.yml b/changelogs/unreleased/speed-up-dashboard-milestone-index.yml new file mode 100644 index 00000000000..ba4ff931ea8 --- /dev/null +++ b/changelogs/unreleased/speed-up-dashboard-milestone-index.yml @@ -0,0 +1,5 @@ +--- +title: Speed up dashboard milestone index by scoping IssuesFinder to user authorized + projects +merge_request: 8524 +author: |