lib/dashing/configuration.rb in dashing-rails-2.6.1 vs lib/dashing/configuration.rb in dashing-rails-2.6.2
- old
+ new
@@ -41,10 +41,10 @@
@widgets_js_path = Rails.root.join('app', 'assets', 'javascripts', 'dashing')
@widgets_css_path = Rails.root.join('app', 'assets', 'stylesheets', 'dashing')
end
def redis
- @redis ||= ::ConnectionPool::Wrapper.new(size: request_thread_count, timeout: redis_timeout) { new_redis_connection }
+ @redis ||= ::ConnectionPool.new(size: request_thread_count, timeout: redis_timeout) { new_redis_connection }
end
def new_redis_connection
::Redis.new(host: redis_host, port: redis_port, password: redis_password)
end