Sha256: dd778a23a81d2565db1b00cf562d8686d7d88ac7645a3264a7113ca4d00679be

Contents?: true

Size: 389 Bytes

Versions: 6

Compression:

Stored size: 389 Bytes

Contents

require 'redis-namespace'

if RACK_ENV == 'test'
  require 'sidekiq/testing'
  Sidekiq::Testing.fake!
else
  Sidekiq.configure_server do |config|
    config.redis = ApplicationSettings.sidekiq.redis
  end

  Sidekiq.configure_client do |config|
    config.redis = ApplicationSettings.sidekiq.redis unless defined?(SIDEKIQ_ON_EM)
  end
end
Sidekiq::Logging.logger = Logging.logger[:sidekiq]

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
grape-gen-0.0.6 template/config/initializers/sidekiq.rb
grape-gen-0.0.5 template/config/initializers/sidekiq.rb
grape-gen-0.0.4 template/config/initializers/sidekiq.rb
grape-gen-0.0.3 template/config/initializers/sidekiq.rb
grape-gen-0.0.2 template/config/initializers/sidekiq.rb
grape-gen-0.0.1 template/config/initializers/sidekiq.rb