Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-09-18Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-04Avoid calling freeze on already frozen strings in app/servicesdineshpanda
2018-09-11Disable existing offenses for the CodeReuse copsYorick Peterse
This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
2018-07-18Enable more frozen string in app/services/**/*.rbgfyoung
Partially addresses #47424.
2018-06-25BatchOpenIssuesCount only updates public issues countFelipe Artur
2018-06-21Fix refresh cache for open issues count serviceFelipe Artur
2018-05-24Fix sidebar issue countFelipe Artur
2017-12-04Moving query to base count serviceFrancisco Lopez
2017-12-01Comments from code review applied. Also switched forked_from_project and ↵Francisco Lopez
ForkedProjectLinks to ForkNetworkMember
2017-11-16Cache the number of user SSH keysYorick Peterse
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.
2017-08-23Cache the number of open issues and merge requestsYorick Peterse
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