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

Struct blockingCreateSessionPool

controlplane/session_mgr_drain_test.go:253–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251 return nil
252}
253
254func (s *runtimeLimiterTestStore) TryAcquireOrgConnectionLeaseForRef(ref configstore.OrgConnectionAdmissionRef, limits configstore.OrgResourceLimits, _ time.Time) (*configstore.OrgConnectionLease, error) {
255 s.mu.Lock()
256 defer s.mu.Unlock()
257 s.tryLimits = append(s.tryLimits, limits)
258 s.tryRefs = append(s.tryRefs, ref)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected