Clients: stop updating datapackage in persistent_storage (#4799)

Still uses things that are in there but stops writing to it.
This commit is contained in:
black-sliver
2025-04-05 11:51:01 +02:00
committed by GitHub
parent 136a13aac7
commit 61e83a300b

View File

@@ -625,9 +625,6 @@ class CommonContext:
def consume_network_data_package(self, data_package: dict):
self.update_data_package(data_package)
current_cache = Utils.persistent_load().get("datapackage", {}).get("games", {})
current_cache.update(data_package["games"])
Utils.persistent_store("datapackage", "games", current_cache)
logger.info(f"Got new ID/Name DataPackage for {', '.join(data_package['games'])}")
for game, game_data in data_package["games"].items():
Utils.store_data_package_for_checksum(game, game_data)