module SidekiqRemoveScheduled::Redis
Attributes
client[RW]
job_queue[RW]
Public Class Methods
config(host: nil, port: nil)
click to toggle source
# File lib/sidekiq_remove_scheduled/redis.rb, line 13 def self.config(host: nil, port: nil) self.client = ::Redis.new(host: host, port: port) self.job_queue = ::Redis::Namespace.new(:queue_jobs_map, redis: client) self end