Class: Dynflow::Executors::Sidekiq::OrchestratorJobs::HandlePersistenceError

Inherits:
InternalJobBase
  • Object
show all
Defined in:
lib/dynflow/executors/sidekiq/orchestrator_jobs.rb

Instance Method Summary collapse

Methods inherited from InternalJobBase

inherited, #telemetry_options, #worker_id

Methods included from Serialization::WorkerExtension::ClassMethods

#client_push

Instance Method Details

#perform(error, work_item) ⇒ Object

Parameters:

  • request_envelope (Dispatcher::Request)
    • request to handle on orchestrator side

    usually to start new execution or to pass some event



40
41
42
# File 'lib/dynflow/executors/sidekiq/orchestrator_jobs.rb', line 40

def perform(error, work_item)
  Dynflow.process_world.executor.core.tell([:handle_persistence_error, error, work_item])
end