Module: JobWorkflow::QueueAdapters::SolidQueueAdapter::SchedulingPatch

Defined in:
lib/job_workflow/queue_adapters/solid_queue_adapter.rb,
sig/generated/job_workflow/queue_adapters/solid_queue_adapter.rbs

Instance Method Summary collapse

Instance Method Details

#recurring_tasks_configHash[Symbol, Hash[Symbol, untyped]]

: () -> Hash[Symbol, Hash[Symbol, untyped]]

Returns:

  • (Hash[Symbol, Hash[Symbol, untyped]])


291
292
293
294
295
296
297
# File 'lib/job_workflow/queue_adapters/solid_queue_adapter.rb', line 291

def recurring_tasks_config
  super.merge!(
    DSL._included_classes.to_a.reduce(
      {} #: Hash[Symbol, Hash[Symbol, untyped]]
    ) { |acc, job_class| acc.merge(job_class._workflow.build_schedules_hash) }
  )
end