Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-05-23 09:30:20 +0300
committerShinya Maeda <shinya@gitlab.com>2018-06-06 11:49:48 +0300
commitd5e073a4726f98b728dcdf1ff7a1914e9b3aab9e (patch)
tree28abeb1b5123b22c0364c92d2841db1a9cc2fec8
parentc47a434c461c052303ce14c7096dc43add0e52d7 (diff)
Revise a comment
-rw-r--r--app/workers/rescue_stale_live_trace_worker.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/workers/rescue_stale_live_trace_worker.rb b/app/workers/rescue_stale_live_trace_worker.rb
index 4e2db8de31e..15f9561baf2 100644
--- a/app/workers/rescue_stale_live_trace_worker.rb
+++ b/app/workers/rescue_stale_live_trace_worker.rb
@@ -5,9 +5,9 @@ class RescueStaleLiveTraceWorker
def perform
# Reschedule to archive live traces
#
- # The target jobs are with the following conditions
- # - Finished 1 hour ago, but it has not had an acthived trace yet
- # Jobs finished 1 hour ago should have an archived trace. Probably ArchiveTraceWorker failed by Sidekiq's inconsistancy
+ # 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
Ci::BuildTraceChunk
.include(EachBatch)
.select(:build_id)