Sha256: ec5f368d11ff7fd27c064d3d5feb10c9b4bd2913255634cd5c78ede71d80a904
Contents?: true
Size: 521 Bytes
Versions: 26
Compression:
Stored size: 521 Bytes
Contents
require 'sidekiq/scheduler' # Configure Sidekiq Redis connection to use the '<%= @config.app_name %>' namespace redis_config = { url: 'redis://localhost:6379', namespace: '<%= @config.app_name %>:' } Sidekiq.configure_server do |config| config.redis = redis_config #config.on(:startup) do # Sidekiq.schedule = YAML.load_file(File.expand_path("../../../config/scheduler.yml",__FILE__)) # Sidekiq::Scheduler.reload_schedule! #end end Sidekiq.configure_client do |config| config.redis = redis_config end
Version data entries
26 entries across 26 versions & 1 rubygems