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
2021-08-06Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-12-22Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-05-22Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2018-11-04Fix statement timeouts in RemoveRestrictedTodos migrationStan Hu
On GitLab.com, the RemoveRestrictedTodos background migration encountered about 700+ failures a day due to statement timeouts. PostgreSQL might perform badly with a LIMIT 1 because the planner is guessing that scanning the index in ID order will come across the desired row in less time it will take the planner than using another index. The order_hint does not affect the search results. For example, `ORDER BY id ASC, updated_at ASC` means the same thing as `ORDER BY id ASC`. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52649
2018-08-29Updates code using class_methods over module ClassMethodsJacopo
2018-08-07Enable more frozen string in app/models/**/*.rbgfyoung
Partially addresses #47424.
2017-07-07Added EachBatch for iterating tables in batchesYorick Peterse
This module provides a class method called `each_batch` that can be used to iterate tables in batches in a more efficient way compared to Rails' `in_batches` method. This commit also includes a RuboCop cop to blacklist the use of `in_batches` in favour of this new method.