We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e3c6643 + 4703541 commit 4bf1528Copy full SHA for 4bf1528
lib/redis_client/cluster/node.rb
@@ -15,7 +15,7 @@ class Node
15
SLOT_SIZE = 16_384
16
MIN_SLOT = 0
17
MAX_SLOT = SLOT_SIZE - 1
18
- MAX_STARTUP_SAMPLE = 37
+ MAX_STARTUP_SAMPLE = Integer(ENV.fetch('REDIS_CLIENT_MAX_STARTUP_SAMPLE', 3))
19
MAX_THREADS = Integer(ENV.fetch('REDIS_CLIENT_MAX_THREADS', 5))
20
IGNORE_GENERIC_CONFIG_KEYS = %i[url host port path].freeze
21
DEAD_FLAGS = %w[fail? fail handshake noaddr noflags].freeze
0 commit comments