Fix Sidekiq pooling issues. Remove API docs from homepage, replace with
a basic home timeline
This commit is contained in:
@ -1,11 +1,10 @@
|
||||
redis_conn = proc {
|
||||
$redis.dup
|
||||
}
|
||||
host = ENV['REDIS_HOST'] || 'localhost'
|
||||
port = ENV['REDIS_PORT'] || 6379
|
||||
|
||||
Sidekiq.configure_server do |config|
|
||||
config.redis = ConnectionPool.new(size: 5, &redis_conn)
|
||||
config.redis = { host: host, port: port }
|
||||
end
|
||||
|
||||
Sidekiq.configure_client do |config|
|
||||
config.redis = ConnectionPool.new(size: 5, &redis_conn)
|
||||
config.redis = { host: host, port: port }
|
||||
end
|
||||
|
Reference in New Issue
Block a user