summaryrefslogtreecommitdiff
path: root/app/models/project.rb
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2017-04-07 17:19:21 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2017-04-07 17:19:21 +0000
commit8631779b1a012bdb5bd9d8de18d6faff49a5821b (patch)
tree8fd4574204819265368009d4553c82d4b0a7215a /app/models/project.rb
parent46aadc5c16150446840a26ea7199380830369326 (diff)
parent9eded57dd2b4d23e43b485c448abb92359e6933e (diff)
downloadgitlab-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.rb2
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)