graph/db: completely remove cache from KVStore

This commit is contained in:
Elle Mouton
2025-02-18 15:06:33 -03:00
parent ba1d21d5c7
commit bb3839e422
3 changed files with 1 additions and 14 deletions

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,