Sha256: 2d6f8a629295853c923be8d89c16cdc6d907cc59fa146628ea21ab1a2f51ba20
Contents?: true
Size: 425 Bytes
Versions: 5
Compression:
Stored size: 425 Bytes
Contents
# frozen_string_literal: true require 'dotenv/load' require 'sidekiq' require './application' Sidekiq.configure_server do |config| config.redis = { url: ENV['REDIS_URL'] } end Sidekiq.configure_client do |config| config.redis = { url: ENV['REDIS_URL'] } end Sidekiq::Logging.logger = ::Ditty::Services::Logger Sidekiq::Logging.logger.level = Logger::WARN unless ENV['SIDEKIQ_DEBUG'].nil? ::Ditty::Components.workers
Version data entries
5 entries across 5 versions & 1 rubygems