mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-13 18:57:18 +03:00
Make done
channel buffered
This commit is contained in:
parent
d685aefab3
commit
1d338417e9
@ -140,7 +140,7 @@ func (b *broker) subscribe(r *http.Request) client {
|
||||
address: r.RemoteAddr,
|
||||
userAgent: r.UserAgent(),
|
||||
channel: make(messageChan, 5),
|
||||
done: make(chan struct{}),
|
||||
done: make(chan struct{}, 1),
|
||||
}
|
||||
|
||||
// Signal the broker that we have a new client
|
||||
|
Loading…
x
Reference in New Issue
Block a user