Answer the question
In order to leave comments, you need to log in
Jedis how to set timeout on connection?
How to set a connection timeout to the Jedis database so that after a certain period of time the connection closes itself. jedis.configSet("timeout", "60");
is not suitable because it applies the parameter to all connections and closes all inactive ones), but I need to close not all, but several that have a timeout.
Maybe someone faced this problem.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question