Merge pull request #1578 from Roasbeef/invoice-ntfn-buffer

invoiceregistry: make the invoice ntfn chan buffered
This commit is contained in:
Olaoluwa Osuntokun
2018-07-20 18:12:00 -07:00
committed by GitHub

View File

@@ -64,7 +64,7 @@ func newInvoiceRegistry(cdb *channeldb.DB) *invoiceRegistry {
notificationClients: make(map[uint32]*invoiceSubscription),
newSubscriptions: make(chan *invoiceSubscription),
subscriptionCancels: make(chan uint32),
invoiceEvents: make(chan *invoiceEvent),
invoiceEvents: make(chan *invoiceEvent, 100),
quit: make(chan struct{}),
}
}