feat: grpc keepalive

This commit is contained in:
naiba
2024-12-04 21:08:28 +08:00
parent 98dad746db
commit b484fe53f0
3 changed files with 10 additions and 17 deletions

View File

@@ -120,7 +120,6 @@ func main() {
singleton.CleanServiceHistory()
serviceSentinelDispatchBus := make(chan model.Service) // 用于传递服务监控任务信息的channel
go rpc.DispatchTask(serviceSentinelDispatchBus)
go rpc.DispatchKeepalive()
go singleton.AlertSentinelStart()
singleton.NewServiceSentinel(serviceSentinelDispatchBus)