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-04-26Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2021-01-19Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-05-22Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-08-31Avoid calling freeze on already frozen strings in app/modelsdineshpanda
2019-08-07Save instance administration project id in DBReuben Pereira
- This will make it easy to identify the project even if admins change the name of the project or move it.
2019-07-10Add a rubocop for Rails.loggerMayra Cabrera
Suggests to use a JSON structured log instead Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/54102
2019-07-02Add a memory cache local to the thread to reduce Redis loadStan Hu
Loading `ApplicationSetting` from Redis was responsible for at least 50% of the CPU load of the Redis cluster on GitLab.com. Since these values generally don't change very much, we can load this from the database and cache it in memory, skipping Redis altogther. We use `ActiveSupport::Cache::MemoryStore` as a drop-in replacement for `RedisCacheStore` even though we probably don't need synchronized access within `Thread.current`. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/63977
2018-12-19Move schema aware defaults to build_from_defaultsLin Jen-Shin
This way we can reuse the safe setting
2018-11-01Fix typos in comments and specsGeorge Tsiolis
2018-09-24Simplify by using Gitlab::SafeRequestStoreMichael Kozono
These are clear wins.
2018-08-07Enable more frozen string in app/models/**/*.rbgfyoung
Partially addresses #47424.
2018-07-05Stop relying on migrations in the CacheableAttributes cache key and cache ↵Rémy Coutable
attributes for 1 minute instead Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-06-01Use RequestStore in CacheableAttributes.cached for greater performanceRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-06-01Revert to caching the AR object in CacheableAttributesRémy Coutable
Caching the attributes as JSON and manually instantiating the record ended-up very complex since the edge-cases such as upload fields, serialized fields, and fields with custom accessors had to be handled. To ensure 3 points out of 4 are checked from https://gitlab.com/gitlab-org/gitlab-ce/issues/45175 we now include the Rails version in the cache key. Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-05-23Introduce a new CacheableAttributes concernRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>