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

Function SetQueryLogSink

server/exports.go:320–327  ·  view source on GitHub ↗

SetQueryLogSink sets the active query-log sink on a Server.

(s *Server, sink QueryLogSink)

Source from the content-addressed store, hash-verified

318 }
319}
320
321// SetConnectionIdleTimeout applies a previously validated connect-time client
322// idle-timeout request. The control plane calls this before RunMessageLoop.
323func SetConnectionIdleTimeout(cc *clientConn, timeout time.Duration) {
324 if cc != nil && timeout > 0 {
325 cc.idleTimeout = timeout
326 }
327}
328
329// ConnectionBilling returns the data needed to meter one connection's
330// compute-usage at teardown: the org, the authenticated username (used to

Calls

no outgoing calls