Skip to content

Commit

Permalink
Update kv/memberlist/tcp_transport.go
Browse files Browse the repository at this point in the history
Co-authored-by: Peter Štibraný <[email protected]>
  • Loading branch information
julienduchesne and pstibrany authored Oct 9, 2024
1 parent 9155c11 commit 3427e65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kv/memberlist/tcp_transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ type TCPTransport struct {

shutdownMu sync.RWMutex
shutdown bool
writeCh chan writeRequest // this channel is protected by shutdownMu
writeCh chan writeRequest // reading and closing this channel is protected by shutdownMu

writeWG sync.WaitGroup

Expand Down

0 comments on commit 3427e65

Please sign in to comment.