Skip to content
Snippets Groups Projects

Update duration at the end of pipeline

Merged Kamil Trzcińśki requested to merge update-duration-at-the-end-of-pipeline into master

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

Does this MR meet the acceptance criteria?

cc @godfat

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading