Merge pull request #5873 from Roasbeef/rpc-graph-cache

channeldb+rpc: optimize graph related RPC calls
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2021-11-04 17:38:28 -07:00
commit 5404fe82c1
9 files changed
+206 -9

No files matched your search

@@ -520,6 +520,11 @@ messages directly. There is no routing/path finding involved.
buffer each time we decrypt an incoming message, as we
recycle these buffers in the peer.
* [The `DescribeGraph` and `GetNetworkInfo` calls have been
optimized](https://github.com/lightningnetwork/lnd/pull/5873) by caching the
response periodically, or using the new channel graph cache directly. This
should significantly cut down on the garbage these two calls generate.
## Log system
* [Save compressed log files from logrorate during