mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-13 10:47:19 +03:00
Add buffer to broker SendMessage
This commit is contained in:
parent
08dbf44529
commit
8f2fe6f9fa
@ -33,7 +33,7 @@ type broker struct {
|
||||
func NewBroker() Broker {
|
||||
// Instantiate a broker
|
||||
broker := &broker{
|
||||
notifier: make(chan []byte, 1),
|
||||
notifier: make(chan []byte, 100),
|
||||
newClients: make(chan chan []byte),
|
||||
closingClients: make(chan chan []byte),
|
||||
clients: make(map[chan []byte]bool),
|
||||
|
Loading…
x
Reference in New Issue
Block a user