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

Method Worker

controlplane/session_mgr_drain_test.go:269–271  ·  view source on GitHub ↗
(id int)

Source from the content-addressed store, hash-verified

267 }
268 return &configstore.OrgConnectionLease{LeaseID: s.leaseID, RequestID: ref.RequestID}, nil
269}
270
271func (s *runtimeLimiterTestStore) snapshot() ([]configstore.OrgResourceLimits, []configstore.OrgConnectionAdmissionRef, *configstore.OrgConnectionQueueEntry) {
272 s.mu.Lock()
273 defer s.mu.Unlock()
274 tryLimits := append([]configstore.OrgResourceLimits(nil), s.tryLimits...)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected