jetcd icon indicating copy to clipboard operation
jetcd copied to clipboard

GetOption donot has timeout

Open gravityhurry opened this issue 1 year ago • 1 comments

client.getKVClient() .get(EtcdTemplate.toByteSequence("cd"), GetOption.builder().build()) .get() (3 line)

ClientBuilder i set connectTimeout = 30 s keepaliveTimeout = 30s keepaliveTime =30 s When the network is abnormal, I find that the 3line .get() is blocked continuously. As the service party, I hope that a timeout interval is set.

thx

gravityhurry avatar Feb 23 '24 07:02 gravityhurry