diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2017-04-07 17:19:21 +0000 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2017-04-07 17:19:21 +0000 |
commit | 8631779b1a012bdb5bd9d8de18d6faff49a5821b (patch) | |
tree | 8fd4574204819265368009d4553c82d4b0a7215a /app/models/project.rb | |
parent | 46aadc5c16150446840a26ea7199380830369326 (diff) | |
parent | 9eded57dd2b4d23e43b485c448abb92359e6933e (diff) | |
download | gitlab-ce-8631779b1a012bdb5bd9d8de18d6faff49a5821b.tar.gz |
Merge branch 'bvl-fix-project-ci-status-cache' into 'master'
Fix invalidating Project build status cache to often
See merge request !10313
Diffstat (limited to 'app/models/project.rb')
-rw-r--r-- | app/models/project.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index 778a9fb2af6..a160efba912 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -1182,7 +1182,7 @@ class Project < ActiveRecord::Base end def pipeline_status - @pipeline_status ||= Ci::PipelineStatus.load_for_project(self) + @pipeline_status ||= Gitlab::Cache::Ci::ProjectPipelineStatus.load_for_project(self) end def mark_import_as_failed(error_message) |