This PR proposes to let users configure individual RedisClient::Cluster instances using max_startup_sample.
A single application could connect to multiple Redis Clusters of different sizes. Using a single global envvar would mean we either over-sample on small clusters or under-sample on large clusters.
This PR proposes to let users configure individual
RedisClient::Cluster
instances usingmax_startup_sample
.A single application could connect to multiple Redis Clusters of different sizes. Using a single global envvar would mean we either over-sample on small clusters or under-sample on large clusters.