MCPcopy
hub / github.com/redis/go-redis / newWantConnQueue

Function newWantConnQueue

internal/pool/want_conn.go:76–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

74}
75
76func newWantConnQueue() *wantConnQueue {
77 return &wantConnQueue{
78 items: make([]*wantConn, 0),
79 }
80}
81
82func (q *wantConnQueue) enqueue(w *wantConn) {
83 q.mu.Lock()

Calls

no outgoing calls