MCPcopy Create free account
hub / github.com/deepflowio/deepflow / Start

Method Start

server/controller/manager/manager.go:300–312  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

298}
299
300func (m *Manager) Start() {
301 cloudcfg.SetCloudGlobalConfig(m.cfg.TaskCfg.CloudCfg)
302 recordercfg.Set(&m.cfg.TaskCfg.RecorderCfg)
303
304 log.Info("manager started")
305 ctx := context.Context(context.Background())
306 go func() {
307 m.run(ctx)
308 for range time.Tick(time.Duration(m.cfg.CloudConfigCheckInterval) * time.Second) {
309 m.run(ctx)
310 }
311 }()
312}

Callers 1

StartFunction · 0.95

Calls 3

runMethod · 0.95
SetMethod · 0.65
InfoMethod · 0.45

Tested by

no test coverage detected