Class: Gitlab::GithubImport::RefreshImportJidWorker

Inherits:
Object
  • Object
show all
Includes:
ApplicationWorker, Queue
Defined in:
app/workers/gitlab/github_import/refresh_import_jid_worker.rb

Overview

rubocop:disable Scalability/IdempotentWorker

Constant Summary

Constants included from ApplicationWorker

ApplicationWorker::LOGGING_EXTRA_KEY, ApplicationWorker::SAFE_PUSH_BULK_LIMIT

Constants included from Loggable

Loggable::ANONYMOUS

Constants included from WorkerAttributes

WorkerAttributes::DEFAULT_CONCURRENCY_LIMIT_PERCENTAGE_BY_URGENCY, WorkerAttributes::DEFAULT_DATA_CONSISTENCY, WorkerAttributes::DEFAULT_DATA_CONSISTENCY_PER_DB, WorkerAttributes::DEFAULT_DEFER_DELAY, WorkerAttributes::LOAD_BALANCED_DATA_CONSISTENCIES, WorkerAttributes::NAMESPACE_WEIGHTS, WorkerAttributes::VALID_DATA_CONSISTENCIES, WorkerAttributes::VALID_RESOURCE_BOUNDARIES, WorkerAttributes::VALID_URGENCIES

Class Method Summary collapse

Methods included from Loggable

#build_structured_payload

Methods included from SidekiqVersioning::Worker

#job_version

Methods included from WorkerContext

#with_context

Class Method Details

.perform_in_the_future(*args) ⇒ Object



12
13
14
15
16
# File 'app/workers/gitlab/github_import/refresh_import_jid_worker.rb', line 12

def self.perform_in_the_future(*args)
  # Delegate to new version of this job so stale sidekiq nodes can still
  # run instead of no-op
  Gitlab::Import::RefreshImportJidWorker.perform_in_the_future(*args)
end