mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
(RE-15162) Update OTEL gems.
This commit is contained in:
parent
46156fd85f
commit
ac578eef15
4 changed files with 58 additions and 45 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue