diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-08-31 22:03:41 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-09-05 14:30:28 +0900 |
commit | 1d7c0390722c96aa66af5b26f5a826b97293dcd6 (patch) | |
tree | ff1795a881ac9a4fa455552ef5dd076f2978d8e2 /app/workers | |
parent | b1af1f268b97c8518bf2806bca48f49174a8aead (diff) | |
download | gitlab-ce-1d7c0390722c96aa66af5b26f5a826b97293dcd6.tar.gz |
Fix enum lists
Diffstat (limited to 'app/workers')
-rw-r--r-- | app/workers/stuck_ci_jobs_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/stuck_ci_jobs_worker.rb b/app/workers/stuck_ci_jobs_worker.rb index 0af8090866a..269776a1f62 100644 --- a/app/workers/stuck_ci_jobs_worker.rb +++ b/app/workers/stuck_ci_jobs_worker.rb @@ -53,7 +53,7 @@ class StuckCiJobsWorker def drop_build(type, build, status, timeout) Rails.logger.info "#{self.class}: Dropping #{type} build #{build.id} for runner #{build.runner_id} (status: #{status}, timeout: #{timeout})" Gitlab::OptimisticLocking.retry_lock(build, 3) do |b| - b.drop(:failed_by_stuck_and_timeout) + b.drop(:stuck_or_timeout_failure) end end end |