INNER CODE UNIT · Go

pollInterval

VersusControl/versus-incident · cmd/main.go:444

		pollInterval = 30 * time.Second
	}
	controllers.NewAgentController(catalog, miner, shadowLog, detectLog, overrideStore, aiBundle.Runbooks != nil).
		SetCursorStore(cursors).
		SetSources(sources).
		SetCatalogConfig(cfg.Catalog, pollInterval).
		Register(api)
	controllers.NewRunbookAdminController(aiBundle.Runbooks).Register(api)
	controllers.SetChatServiceFactory(aiBundle.ChatService)

	return catalog, agentDone, nil
}

func startServiceHealth(manager *servicehealth.Manager, store storage.Provider, catalog *agent.Catalog, cfg c.AgentConfig, sources []core.SignalSource) error {
	serviceReader := func() []servicehealth.ServiceMetadata { return nil }
	patternReader := func() []servicehealth.PatternMetadata { return nil }
	if catalog != nil {
		serviceReader = func() []servicehealth.ServiceMetadata {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…