feat: grpc keepalive

This commit is contained in:
naiba committed 2024-12-04 21:08:28 +08:00
1 parent 4273b6a90b
commit 30df69d72d
3 files changed
+10 -17

No files matched your search

-1
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)