This repository has been archived on 2024-06-09. You can view files and clone it, but cannot push or open issues/pull-requests.
2016-03-25 02:50:48 +01:00
|
|
|
redis_conn = proc {
|
|
|
|
$redis.dup
|
|
|
|
}
|
|
|
|
|
|
|
|
Sidekiq.configure_server do |config|
|
|
|
|
config.redis = ConnectionPool.new(size: 5, &redis_conn)
|
|
|
|
end
|
|
|
|
|
|
|
|
Sidekiq.configure_client do |config|
|
2016-03-25 14:20:31 +01:00
|
|
|
config.redis = ConnectionPool.new(size: 5, &redis_conn)
|
2016-03-25 02:50:48 +01:00
|
|
|
end
|