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. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| Dockerfile | ||