mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-26 20:09:47 +01:00
Make done channel buffered
This commit is contained in:
parent
d685aefab3
commit
1d338417e9
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue