mirror of
https://github.com/navidrome/navidrome.git
synced 2026-04-03 06:41:01 +00:00
Make done channel buffered
This commit is contained in:
parent
7aa8b6418e
commit
60605f8d1b
@ -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