diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2017-04-07 20:19:21 +0300 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2017-04-07 20:19:21 +0300 |
commit | 8631779b1a012bdb5bd9d8de18d6faff49a5821b (patch) | |
tree | 8fd4574204819265368009d4553c82d4b0a7215a /app/services | |
parent | 46aadc5c16150446840a26ea7199380830369326 (diff) | |
parent | 9eded57dd2b4d23e43b485c448abb92359e6933e (diff) |
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/services')
-rw-r--r-- | app/services/ci/expire_pipeline_cache_service.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/services/ci/expire_pipeline_cache_service.rb b/app/services/ci/expire_pipeline_cache_service.rb index c0e4a798f6a..91d9c1d2ba1 100644 --- a/app/services/ci/expire_pipeline_cache_service.rb +++ b/app/services/ci/expire_pipeline_cache_service.rb @@ -10,6 +10,8 @@ module Ci store.touch(commit_pipelines_path) if pipeline.commit store.touch(new_merge_request_pipelines_path) merge_requests_pipelines_paths.each { |path| store.touch(path) } + + Gitlab::Cache::Ci::ProjectPipelineStatus.update_for_pipeline(@pipeline) end private |