Sha256: b6486badd16589ff907d998860e1e1a45610ed26c810b1e25936324fa19f8c6e

Contents?: true

Size: 590 Bytes

Versions: 17

Compression:

Stored size: 590 Bytes

Contents

# encoding: utf-8
# This file is distributed under New Relic's license terms.
# See https://github.com/newrelic/rpm/blob/master/LICENSE for complete details.

require "newrelic_rpm"

REDIS_PORT = ENV['NEWRELIC_MULTIVERSE_REDIS_PORT']
REDIS_URL  = "redis://localhost:#{REDIS_PORT}/0"

Sidekiq.configure_server do |config|
  config.redis = { :url => REDIS_URL }
end

Sidekiq.configure_client do |config|
  config.redis = { :url => REDIS_URL }
end

$redis = Redis.new(:port => REDIS_PORT)

class TestWorker
  include Sidekiq::Worker
  def perform(key, val)
    $redis.sadd(key, val)
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
newrelic_rpm-3.6.5.130 test/multiverse/suites/sidekiq/app.rb
newrelic_rpm-3.6.4.122 test/multiverse/suites/sidekiq/app.rb
newrelic_rpm-3.6.4.113.beta test/multiverse/suites/sidekiq/app.rb
newrelic_rpm-3.6.3.111 test/multiverse/suites/sidekiq/app.rb
newrelic_rpm-3.6.3.106 test/multiverse/suites/sidekiq/app.rb
newrelic_rpm-3.6.3.105.beta test/multiverse/suites/sidekiq/app.rb
newrelic_rpm-3.6.3.104 test/multiverse/suites/sidekiq/app.rb
newrelic_rpm-3.6.3.103.beta test/multiverse/suites/sidekiq/app.rb
newrelic_rpm-3.6.2.96 test/multiverse/suites/sidekiq/app.rb
newrelic_rpm-3.6.2.90.beta test/multiverse/suites/sidekiq/app.rb
newrelic_rpm-3.6.1.88 test/multiverse/suites/sidekiq/app.rb
newrelic_rpm-3.6.1.87 test/multiverse/suites/sidekiq/app.rb
newrelic_rpm-3.6.1.86.beta test/multiverse/suites/sidekiq/app.rb
newrelic_rpm-3.6.1.85.beta test/multiverse/suites/sidekiq/app.rb
newrelic_rpm-3.6.0.83 test/multiverse/suites/sidekiq/app.rb
newrelic_rpm-3.6.0.78 test/multiverse/suites/sidekiq/app.rb
newrelic_rpm-3.6.0.74.beta test/multiverse/suites/sidekiq/app.rb