Module: Sidekiq::Portal::JobRunner::Builder Private

Defined in:
lib/portal/job_runner/builder.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Since:

  • 0.1.0

Class Method Summary collapse

Class Method Details

.build(config) ⇒ Sidekiq::Portal::JobRunner

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

Returns:

Since:

  • 0.1.0



12
13
14
15
16
17
# File 'lib/portal/job_runner/builder.rb', line 12

def build(config)
  Sidekiq::Portal::JobRunner.new(
    config.settings.retry_count,
    config.settings.retry_on
  )
end