Sha256: 54f940196982d8cc00a9e661002e9bcb8ed3c88bc502594382cca4aab437239d

Contents?: true

Size: 242 Bytes

Versions: 2

Compression:

Stored size: 242 Bytes

Contents

class SpawnSimpleWorker
  include Sidekiq::Worker

  def perform(spawn_arg)
    Sidekiq::Logging.with_context(self.class.name) do
      logger.debug { "#{__method__}(#{spawn_arg})" }
    end
    SimpleWorker.perform_async spawn_arg
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sidekiq-unique-jobs-5.0.2 rails_example/app/workers/spawn_simple_worker.rb
sidekiq-unique-jobs-5.0.1 rails_example/app/workers/spawn_simple_worker.rb