Sha256: ab772c4b6e971ecda4bc5e0ff1b55d86e810a22f2b578ca2065e443f1f3883b2

Contents?: true

Size: 763 Bytes

Versions: 4

Compression:

Stored size: 763 Bytes

Contents

# Sidekiq::Extensions.enable_delay!

# Perform Sidekiq jobs immediately in development, so you don't have to run a separate process.
require 'sidekiq'
# Sidekiq::Testing.inline!

# Setup throttling for dealing with rate-limited APIs
# require 'sidekiq/throttled'
# Sidekiq::Throttled.setup!

# Sidekiq.configure_server do |config|
#   config.redis = { url: 'redis://127.0.0.1:6379/1' }
#   config.server_middleware do |chain|
#     chain.add ContextualizedLogs::Sidekiq::Middleware::Server::RestoreCurrentContext
#   end
# end
#
# Sidekiq.configure_client do |config|
#   config.redis = { url: 'redis://127.0.0.1:6379/1' }
#   config.client_middleware do |chain|
#     chain.add ContextualizedLogs::Sidekiq::Middleware::Client::InjectCurrentContext
#   end
# end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
contextualized_logs-0.0.4.pre.demo config/initializers/sidekiq.rb
contextualized_logs-0.0.4.pre.alpha config/initializers/sidekiq.rb
contextualized_logs-0.0.3.pre.alpha config/initializers/sidekiq.rb
contextualized_logs-0.0.2.pre.alpha config/initializers/sidekiq.rb