Revert "feat: grpc keepalive"

This reverts commit b484fe53f0.
This commit is contained in:
naiba
2024-12-04 22:46:02 +08:00
parent b484fe53f0
commit 68e3bb00e4
3 changed files with 17 additions and 10 deletions

View File

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