mirror of
https://github.com/coder/coder.git
synced 2025-03-14 10:09:57 +00:00
fix(vpn): use unbuffered channel in speaker (#15863)
Closes https://github.com/coder/internal/issues/253.
This commit is contained in:
@ -225,7 +225,7 @@ func (s *speaker[_, R, _]) newRPC() (uint64, chan R) {
|
||||
defer s.mu.Unlock()
|
||||
msgID := s.nextMsgID
|
||||
s.nextMsgID++
|
||||
c := make(chan R, 1)
|
||||
c := make(chan R)
|
||||
s.responseChans[msgID] = c
|
||||
return msgID, c
|
||||
}
|
||||
|
Reference in New Issue
Block a user