MCPcopy Create free account
hub / github.com/PostHog/duckgres / cloneWorkerLifecycleStats

Function cloneWorkerLifecycleStats

controlplane/multitenant.go:634–641  ·  view source on GitHub ↗
(stats []configstore.WorkerLifecycleStats)

Source from the content-addressed store, hash-verified

632 }
633 }
634
635 // Register config change handler
636 store.OnChange(router.HandleConfigChange)
637
638 // Start polling
639 store.Start(context.Background())
640
641 // Resolve admin bearer token
642 internalSecret := cfg.InternalSecret
643 if internalSecret == "" {
644 tokenBytes := make([]byte, 32)

Callers 1

SetupMultiTenantFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected