Sha256: 0a16c5e39c0f3b96776fcd2f14afa25b4eea12d4dda97c38c2f63aa94351e602

Contents?: true

Size: 228 Bytes

Versions: 7

Compression:

Stored size: 228 Bytes

Contents

# frozen_string_literal: true

class TacoWorker
  include Sidekiq::Worker

  sidekiq_options queue: File.basename(__FILE__,'.*').downcase

  def perform(*)
    Rails.logger.warn { 'You are a Taco' }
    sleep(rand*10)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sidekiq-web_custom-0.6.0 dummy_rails/app/workers/taco_worker.rb
sidekiq-web_custom-0.5.0 dummy_rails/app/workers/taco_worker.rb
sidekiq-web_custom-0.4.1 dummy_rails/app/workers/taco_worker.rb
sidekiq-web_custom-0.4.0 dummy_rails/app/workers/taco_worker.rb
sidekiq-web_custom-0.3.1 dummy_rails/app/workers/taco_worker.rb
sidekiq-web_custom-0.3.0 dummy_rails/app/workers/taco_worker.rb
sidekiq-web_custom-0.2.0 dummy_rails/app/workers/taco_worker.rb