TarsCloud / TarsFramework

Tars Basic service framework
BSD 3-Clause "New" or "Revised" License
198 stars 143 forks source link

Added the heartbeat interval configuration for the NodeServer to report the RegistryServer #103

Closed wincsb closed 2 years ago

wincsb commented 2 years ago

Added the heartbeat interval configuration for the NodeServer to report the RegistryServer: The timeout time for checking the heartbeat of the business service and the heartbeat time reported by the NodeServer to the RegistryServer share the same configuration. When the nodeTimeout configured by the RegistryServer <heartTimeout, the business services under the NodeServer will sometimes go offline. 新增NodeServer上报RegistryServer的心跳间隔配置: 检查业务服务心跳的超时时间与NodeServer上报RegistryServer的心跳时间共用了一个配置,当RegistryServer配置的nodeTimeout < heartTimeout的时候,会导致NodeServer下的业务服务有时会不在线