In cases where the peer store has grown very large (e.g. when a well connected node has been online for a long time), the peer store can get so large that this cache causes abnormal memory use.
The cache was added without any profiling, remove the cache for now, we can add it back if it actually solves a problem.
Change checklist
[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation if necessary (this includes comments as well)
[ ] I have added tests that prove my fix is effective or that my feature works
In cases where the peer store has grown very large (e.g. when a well connected node has been online for a long time), the peer store can get so large that this cache causes abnormal memory use.
The cache was added without any profiling, remove the cache for now, we can add it back if it actually solves a problem.
Change checklist