diff options
| author | Shinya Maeda <shinya@gitlab.com> | 2018-05-31 16:29:17 +0900 |
|---|---|---|
| committer | Shinya Maeda <shinya@gitlab.com> | 2018-06-06 17:49:48 +0900 |
| commit | fb1e35e556f50636645d48c739dad37a4c7f722c (patch) | |
| tree | 3e8a31d5f95060f77a4f0dbbaf96b6953d3cc7d1 /app/workers/ci | |
| parent | 3b569fceff09db6471a054128d2cbf268e63964d (diff) | |
| download | gitlab-ce-fb1e35e556f50636645d48c739dad37a4c7f722c.tar.gz | |
Fix spec fiel location
Diffstat (limited to 'app/workers/ci')
| -rw-r--r-- | app/workers/ci/rescue_stale_live_trace_worker.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/workers/ci/rescue_stale_live_trace_worker.rb b/app/workers/ci/rescue_stale_live_trace_worker.rb index b60c212c468..0f196993669 100644 --- a/app/workers/ci/rescue_stale_live_trace_worker.rb +++ b/app/workers/ci/rescue_stale_live_trace_worker.rb @@ -7,8 +7,8 @@ module Ci # Reschedule to archive live traces # # The targets are jobs with the following conditions - # - It had been finished 1 hour ago, but it has not had an acthived trace yet - # This case happens when sidekiq-jobs of archiving traces are lost in order to restart sidekiq instace which hit RSS limit + # - Jobs had been finished 1 hour ago, but they don't have an archived trace yet + # This could happen when their sidekiq-jobs are lost by SIGKILL Ci::BuildTraceChunk.find_stale(finished_before: 1.hour.ago) do |build_ids| Ci::Build.where(id: build_ids).find_each do |build| begin |
