waibozie opened a new issue #2571:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2571


   Describe the bug
   2.x版本中watch超时配置失效, 即`servicecomb.service.registry.client.timeout.watch`配置失效
   
   原因是通过SPI(RegistryHttpClientOptionsSPI)重构了HttpClientWithContext的获取方式。
   
    
在RegistryWatchHttpClientOptionsSPI的实现中超时配置继承于RegistryHttpClientOptionsSPI的值,及当前实现下watch超时的实际配置来源于`servicecomb.service.registry.client.timeout.idle`
   
   修改方法可以`RegistryWatchHttpClientOptionsSPI`中Override 
`getIdleTimeoutInSeconds`方法。
   
   To Reproduce
   必现
   
   Expected behavior
   `servicecomb.service.registry.client.timeout.watch`生效
   
   Platform And Runtime (please complete the following information):
   环境无差别,稳定复现
   
   Additional context
   无


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to