diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2016-04-29 23:33:56 +0300 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2016-04-29 23:44:08 +0300 |
commit | b6a18f1093c88e82d2320d4d3f3c15c549b861be (patch) | |
tree | dbace257a26f4c70f109fef3a2569317ffecdcbb /CHANGELOG | |
parent | e28d1fa3cc2e8c2f696f6740c8a8441100542470 (diff) |
Tweak checking branches in Project#open_branches
This changes 4 things:
1. Project#protected_branches_names has been renamed to
Project#protected_branch_names.
2. Project#open_branches uses a Set for the branch names as checking
values in a Set is faster than checking values in a (large) Array.
3. Some redundant code in Project#open_branches has been removed.
4. Project#protected_branch_names now uses #pluck instead of #map,
removing the need for loading entire DB records into memory.
Diffstat (limited to 'CHANGELOG')
-rw-r--r-- | CHANGELOG | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG index 5bd897126b2..121b03be320 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,7 @@ Please view this file on the master branch, on stable branches it's out of date. v 8.8.0 (unreleased) + - Project#open_branches has been cleaned up and no longer loads entire records into memory. - Make build status canceled if any of the jobs was canceled and none failed - Remove future dates from contribution calendar graph. - Use ActionDispatch Remote IP for Akismet checking |