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

Method backendKey

server/conn.go:281–283  ·  view source on GitHub ↗

backendKey returns the backend key for this connection, used for cancel requests.

()

Source from the content-addressed store, hash-verified

279 // sub-GiB worker. workerMillicores == 0 means "unknown size" (non-remote /
280 // standalone), in which case metering is skipped. Constant for the
281 // connection's life, except that exploratory-tier escalation may raise it
282 // once (largest size wins) on the message-loop goroutine — the same
283 // goroutine that reads it; the metric is computed once at teardown over
284 // backendStart→now.
285 workerMillicores int64
286 workerMiB int64

Callers 1

queryContextInnerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected