# This module is taken from
# and slightly adjusted to our needs
end
clone.tap { |o| o.namespace = ns }
end
return ::Redis::Namespace.new(namespace, redis: conn)
end
end
end
end
end
end
end
{
timeout: 10.0,
}
end
if ::Sidekiq.server?
::Sidekiq.options[:concurrency] + 2
else
5
end
end
end
if block_given?
elsif namespace
else
end
end
end