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

Function randomConnectionRequestID

controlplane/connection_limiter.go:150–156  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

148 if cleanupArmed {
149 reservation.Reclaim(admissionReclaimCauseAcquireAbandoned)
150 }
151 }()
152 var enqueueErr error
153 if contextStore, ok := l.store.(runtimeOrgConnectionEnqueueContextStore); ok {
154 enqueueErr = contextStore.EnqueueOrgConnectionRequestContext(ctx, entry)
155 } else {
156 enqueueErr = l.store.EnqueueOrgConnectionRequest(entry)
157 }
158 if enqueueErr != nil {
159 if ctx.Err() != nil {

Callers

nothing calls this directly

Calls 1

ReadMethod · 0.45

Tested by

no test coverage detected