Searched refs:pool (Results 1 - 2 of 2) sorted by relevance

/ontohub/config/initializers/
H A Dsidekiq.rb3 config.redis = Ontohub::RedisConnection.new.pool.
8 config.redis = Ontohub::RedisConnection.new.pool.
H A Dredis_pool.rb2 # http://ixti.net/development/ruby/2014/03/26/share-sidekiq-s-redis-pool-with-other-part-of-your-app.html
11 super(options.delete :pool) { Redis.new(options) }
33 def initialize(pool)
34 @pool = pool
39 def pool method in class:Ontohub.RedisConnection
40 @pool ||= Pool.new(config)
49 pool: {size: pool_size},
64 RedisConnection.new.pool(*args).with_namespace(namespace, &block)
66 RedisConnection.new.pool(*arg
[all...]

Completed in 167 milliseconds