Merge pull request #1578 from Roasbeef/invoice-ntfn-buffer
invoiceregistry: make the invoice ntfn chan buffered
This commit is contained in:
commit
b9947c1c7c
@ -64,7 +64,7 @@ func newInvoiceRegistry(cdb *channeldb.DB) *invoiceRegistry {
|
|||||||
notificationClients: make(map[uint32]*invoiceSubscription),
|
notificationClients: make(map[uint32]*invoiceSubscription),
|
||||||
newSubscriptions: make(chan *invoiceSubscription),
|
newSubscriptions: make(chan *invoiceSubscription),
|
||||||
subscriptionCancels: make(chan uint32),
|
subscriptionCancels: make(chan uint32),
|
||||||
invoiceEvents: make(chan *invoiceEvent),
|
invoiceEvents: make(chan *invoiceEvent, 100),
|
||||||
quit: make(chan struct{}),
|
quit: make(chan struct{}),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user