Class: PropagateIntegrationWorker

Inherits:
Object
  • Object
show all
Includes:
ApplicationWorker
Defined in:
app/workers/propagate_integration_worker.rb

Constant Summary

Constants included from ApplicationWorker

ApplicationWorker::LOGGING_EXTRA_KEY

Constants included from WorkerAttributes

WorkerAttributes::NAMESPACE_WEIGHTS, WorkerAttributes::VALID_RESOURCE_BOUNDARIES, WorkerAttributes::VALID_URGENCIES

Instance Method Summary collapse

Methods included from Gitlab::SidekiqVersioning::Worker

#job_version

Methods included from WorkerContext

#with_context

Instance Method Details

#perform(integration_id, overwrite = nil) ⇒ Object

Keep overwrite parameter for backwards compatibility.


11
12
13
# File 'app/workers/propagate_integration_worker.rb', line 11

def perform(integration_id, overwrite = nil)
  Admin::PropagateIntegrationService.propagate(Service.find(integration_id))
end