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

Method RemoveWithoutTurn

maintnotifications/pool_hook_test.go:78–81  ·  view source on GitHub ↗
(ctx context.Context, conn *pool.Conn, reason error)

Source from the content-addressed store, hash-verified

76}
77
78func (mp *mockPool) RemoveWithoutTurn(ctx context.Context, conn *pool.Conn, reason error) {
79 // For mock pool, same behavior as Remove since we don't have a turn-based queue
80 mp.Remove(ctx, conn, reason)
81}
82
83// WasRemoved safely checks if a connection was removed from the pool
84func (mp *mockPool) WasRemoved(connID uint64) bool {

Callers

nothing calls this directly

Calls 1

RemoveMethod · 0.95

Tested by

no test coverage detected