gitlab-org--gitlab-foss/app
Rémy Coutable 3c5b94740b Merge branch 'update-duration-at-the-end-of-pipeline' into 'master'
Update duration at the end of pipeline

## What does this MR do?
Moves duration calculation to be done only once at the end of pipeline processing.
Currently this is done every one build.

## Why was this MR needed?
This is the simplest thing that we can do before properly implementing duration calculation: https://gitlab.com/gitlab-org/gitlab-ce/issues/23523#note_17145614

This is ~Performance improvement that significantly affects: http://performance.gitlab.net/dashboard/db/sidekiq-workers?var-worker=PipelineUpdateWorker%23perform&var-database=Production&from=now-1h&to=now

See merge request !6987
2016-10-20 14:53:08 +00:00
..
assets Merge branch '22089-show-full-job-name-on-hover-on-pipeline-graph' into 'master' 2016-10-20 13:52:20 +00:00
controllers Merge branch '23341-fix-viewing-mr-from-deleted-project' into 'master' 2016-10-20 14:03:10 +00:00
finders Remove order by label type on LabelsFinder 2016-10-19 14:58:28 -02:00
helpers Merge branch '23341-fix-viewing-mr-from-deleted-project' into 'master' 2016-10-20 14:03:10 +00:00
mailers Just show the first merge request we found, feedback: 2016-10-14 19:54:51 +08:00
models Merge branch 'update-duration-at-the-end-of-pipeline' into 'master' 2016-10-20 14:53:08 +00:00
policies Use delegate! on group and project labels policies 2016-10-19 14:58:26 -02:00
services Differentiate the expire from leave event 2016-10-20 00:26:45 +00:00
uploaders
validators Add robots.txt to the list of reserved namespaces 2016-10-11 02:58:26 +01:00
views Merge branch '23341-fix-viewing-mr-from-deleted-project' into 'master' 2016-10-20 14:03:10 +00:00
workers Restrict ProjectCacheWorker jobs to one per 15 min 2016-10-20 13:20:47 +02:00