This repository was archived by the owner on Jan 9, 2024. It is now read-only.

Description
Hi people,
Here is my scenario, when i init about 40 RedisCluster instances(it is neccessary for me) and do a huge concurrent operation, I found a lot idle client connections on server-side, even i stopped concurrent operation, idle connections won't be released automatically. I tried use max_connections to prevent volume of connections from explosive increasing. But, i think the connections which idle for ages should be kicked out. Is there any possible way to achieve this by setting any params(which i might know yet, or it doesn't realized yet) to RedisCluster
According to redis official document, I noticed that idle client connections won't be closed forever by default. SET TIMEOUT xxx is a good solution on server-side, to let redis know when did it need to kick off the idle client. But I am earger to have a client-side solution.
https://redis.io/docs/reference/clients/

I didn't see any realization in codes that RedisCluster that allows user to handle idle_timeout (like Jedis)
Will it be supported in the future releases? I'd appreciatie if somebody can anwser this
Best,
Yanchi