Module: Gitlab::Import::StuckImportJob
- Extended by:
- ActiveSupport::Concern
- Defined in:
- app/workers/gitlab/import/stuck_import_job.rb
Constant Summary collapse
- StuckImportJobError =
Class.new(StandardError)
- IMPORT_JOBS_EXPIRATION =
24.hours.seconds.to_i
Instance Method Summary collapse
Instance Method Details
#perform ⇒ Object
25 26 27 28 29 30 |
# File 'app/workers/gitlab/import/stuck_import_job.rb', line 25 def perform stuck_imports_without_jid_count = mark_imports_without_jid_as_failed! stuck_imports_with_jid_count = mark_imports_with_jid_as_failed! track_metrics(stuck_imports_with_jid_count, stuck_imports_without_jid_count) end |