Sha256: cc886c04087a3a36277bdd3ca0e700266f4bb4411bdd2b9c5daaa98c4d4b14bb

Contents?: true

Size: 250 Bytes

Versions: 1

Compression:

Stored size: 250 Bytes

Contents

class SpawnSimpleWorker
  include Sidekiq::Worker

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

Version data entries

1 entries across 1 versions & 1 rubygems

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