- Sep 04, 2019
-
-
dineshpanda authored
-
- Sep 11, 2018
-
-
Yorick Peterse authored
This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
-
- Jul 17, 2018
-
-
gfyoung authored
Partially addresses #47424.
-
- Jun 25, 2018
-
-
Felipe Artur authored
-
- Jun 21, 2018
-
-
Felipe Artur authored
-
- May 24, 2018
-
-
Felipe Artur authored
-
- Dec 04, 2017
-
-
Francisco Javier López authored
-
- Dec 01, 2017
-
-
Francisco Javier López authored
Comments from code review applied. Also switched forked_from_project and ForkedProjectLinks to ForkNetworkMember
-
- Nov 16, 2017
-
-
Yorick Peterse authored
By caching the number of personal SSH keys we reduce the number of queries necessary on pages such as ProjectsController#show (which can end up querying this data multiple times). The cache is refreshed/flushed whenever an SSH key is added, removed, or when a user is removed.
-
- Aug 23, 2017
-
-
Yorick Peterse authored
Every project page displays a navigation menu that in turn displays the number of open issues and merge requests. This means that for every project page we run two COUNT(*) queries, each taking up roughly 30 milliseconds on GitLab.com. By caching these numbers and refreshing them whenever necessary we can reduce loading times of all these pages by up to roughly 60 milliseconds. The number of open issues does not include confidential issues. This is a trade-off to keep the code simple and to ensure refreshing the data only needs 2 COUNT(*) queries instead of 3. A downside is that if a project only has 5 confidential issues the counter will be set to 0. Because we now have 3 similar counting service classes the code previously used in Projects::ForksCountService has mostly been moved to Projects::CountService, which in turn is reused by the various service classes. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/36622
-