Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Eliminate redundant dial mutex causing unbounded connection queue con…
…tention
  • Loading branch information
LINKIWI committed Aug 10, 2024
commit fedd45f443c653f4bd8003db851daff3d2af01a9
2 changes: 0 additions & 2 deletions redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,6 @@ func (hs *hooksMixin) withProcessPipelineHook(
}

func (hs *hooksMixin) dialHook(ctx context.Context, network, addr string) (net.Conn, error) {
hs.hooksMu.Lock()
defer hs.hooksMu.Unlock()
return hs.current.dial(ctx, network, addr)
}

Expand Down