Searched defs:redis (Results 1 - 3 of 3) sorted by relevance

/ontohub/lib/
H A Dwrapping_redis.rb3 # gets and reuses the Sidekiq-redis connection
4 def redis method in class:WrappingRedis
11 Sidekiq.redis { |redis| redis.send(name, *args, &block) }
H A Dsemaphore.rb15 "#{Settings.redis.namespace}:#{self.to_s.downcase}".freeze
62 redis: redis(SEMAPHORES_NAMESPACE))
65 def redis(sema_namespace) method in class:Semaphore
66 Ontohub.redis(namespace: sema_namespace)
/ontohub/config/initializers/
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
4 require 'redis/namespace'
22 return ::Redis::Namespace.new(namespace, redis: conn)
47 url: ::Settings.redis.url,
62 def self.redis(*args, namespace: nil, &block) singleton method in class:Ontohub

Completed in 8 milliseconds