mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-28 15:13:04 +01:00
In this commit, we update the main invoiceEvents channel within the invoiceregistry to now have an initial buffer size of 100. We do this as it's been reported by users that on start up they're unable to actually create or settle invoices manually. Traces have shown that this is due to contention while holding the invoice mutex. To attempt to solve this, we add an additional buffer to the channel as most sends will now be routinely non blocking.
15 KiB
15 KiB