websocket: remove channel buffers

This commit is contained in:
Matthew Penner 2022-01-22 12:30:07 -07:00
parent 86f41c8027
commit 99ed8dc9a9
No known key found for this signature in database
GPG Key ID: 31311906AD4CF6D6

View File

@ -87,9 +87,9 @@ func (h *Handler) listenForServerEvents(ctx context.Context) error {
ctx, cancel := context.WithCancel(ctx)
defer cancel()
eventChan := make(chan events.Event, 8)
logOutput := make(chan []byte, 8)
installOutput := make(chan []byte, 8)
eventChan := make(chan events.Event)
logOutput := make(chan []byte)
installOutput := make(chan []byte)
h.server.Events().On(eventChan, e...)
h.server.LogSink().On(logOutput)
h.server.InstallSink().On(installOutput)