Skip to content

Commit

Permalink
gen: update base protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
lbbniu committed Jun 17, 2023
1 parent fb2c8cf commit ef2b06f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tars/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -573,13 +573,13 @@ func (a *application) mainLoop() {
server := a.svrCfg.Server
container := a.svrCfg.Container
ha.SetNodeInfo(comm, node, app, server, container)
ctx := context.Background()

svrCfg := a.ServerConfig()
go ha.ReportVersion(svrCfg.Version)
go ha.KeepAlive("") //first start
go a.handleSignal()
// registrar service
ctx := context.Background()
go a.registryAdapters(ctx)

loop := time.NewTicker(svrCfg.MainLoopTicker)
Expand Down

0 comments on commit ef2b06f

Please sign in to comment.