Merge pull request #4884 from yyforyongyu/3004-buffer-pool

lnwire: fix heap escapes to reduce gc pressure
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2021-08-10 19:13:08 -07:00
commit b0e9442ba5
44 files changed
+2936 -391

No files matched your search

@@ -121,6 +121,10 @@ you.
* [Update MC store in blocks](https://github.com/lightningnetwork/lnd/pull/5515)
to make payment throughput better when using etcd.
* [The `lnwire` package now uses a write buffer pool](https://github.com/lightningnetwork/lnd/pull/4884)
when encoding/decoding messages. Such that most of the heap escapes are fixed,
resulting in less memory being used when running `lnd`.
## Bug Fixes
A bug has been fixed that would cause `lnd` to [try to bootstrap using the