graph/db: completely remove cache from KVStore

This commit is contained in:
Elle Mouton committed 2025-03-24 15:05:47 +02:00
1 parent ba1d21d5c7
commit bb3839e422
3 files changed
+1 -14

No files matched your search

-2
View File
@@ -93,8 +93,6 @@ func NewChannelGraph(cfg *Config, options ...ChanGraphOption) (*ChannelGraph,
log.Debugf("Finished populating in-memory channel graph (took %v, %s)",
time.Since(startTime), graphCache.Stats())
store.setGraphCache(graphCache)
return &ChannelGraph{
KVStore: store,
graphCache: graphCache,