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

Method IsMigratingForOrg

controlplane/control.go:256–256  ·  view source on GitHub ↗
(orgID string)

Source from the content-addressed store, hash-verified

254 // computeMeter accumulates per-org compute-usage and flushes it to the
255 // durable buffer (remote/k8s backend with billing config only; nil
256 // otherwise — every call site is nil-safe). The leader-only drain loop that
257 // ships buffered usage to PostHog is wired separately in SetupMultiTenant.
258 computeMeter *computeMeter
259 metadataPostgresURL func(context.Context, string) (string, error)

Callers 1

handleConnectionMethod · 0.65

Implementers 4

mockOrgRoutercontrolplane/org_router_test_helpers_t
reconnectTestOrgRoutercontrolplane/flight_ingress_test.go
recordingOrgRoutercontrolplane/flight_ingress_test.go
orgRouterAdaptercontrolplane/multitenant.go

Calls

no outgoing calls

Tested by

no test coverage detected