mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-26 16:21:55 -06:00
Make sure someone wakes up
This commit is contained in:
parent
b63f699f1b
commit
8fd878c75a
|
@ -13,7 +13,7 @@ type fifoQueue struct {
|
||||||
|
|
||||||
func newFIFOQueue() *fifoQueue {
|
func newFIFOQueue() *fifoQueue {
|
||||||
q := &fifoQueue{
|
q := &fifoQueue{
|
||||||
notifs: make(chan struct{}),
|
notifs: make(chan struct{}, 1),
|
||||||
}
|
}
|
||||||
return q
|
return q
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue