Sha256: 2d15d46eb29ea4f4cb5de2d77bbcb8817dfef04f52e47fd7dbb43f3a4ac01fd5
Contents?: true
Size: 225 Bytes
Versions: 3
Compression:
Stored size: 225 Bytes
Contents
module QPush module Base KEY = 'qpush:v1'.freeze class RedisPool def self.create(pool, url) ::ConnectionPool.new(size: pool) do ::Redis.new(url: url) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
qpush-0.1.8 | lib/qpush/base/redis.rb |
qpush-0.1.7 | lib/qpush/base/redis.rb |
qpush-0.1.6 | lib/qpush/base/redis.rb |