mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-11 22:20:41 +08:00
For large seeds with many repos, it's expensive to traverse the inventory everytime the node connects to a new peer, for example. To improve the situation, we cache the inventory per `Storage` instance, and add a `refresh` method to refresh the inventory. This method is called when the node is told to synchronize its inventory.