(RE-15162) Update OTEL gems.

This commit is contained in:
isaac-hammes 2023-08-10 06:15:27 -07:00
parent 46156fd85f
commit ac578eef15
4 changed files with 58 additions and 45 deletions

View file

@ -209,7 +209,13 @@ module Vmpooler
end
def self.new_redis(host = 'localhost', port = nil, password = nil, redis_reconnect_attempts = 10)
Redis.new(host: host, port: port, password: password, reconnect_attempts: redis_reconnect_attempts, timeout: 5)
Redis.new(
host: host,
port: port,
password: password,
reconnect_attempts: redis_reconnect_attempts,
connect_timeout: 300,
)
end
def self.pools(conf)