From 93b6695d57c20a8570ae2b0fb6c9295d0139af05 Mon Sep 17 00:00:00 2001 From: Faizal <107730747+muhammedfaizalpk@users.noreply.github.com> Date: Fri, 23 Oct 2026 18:13:40 +0530 Subject: [PATCH] Update timeout for get_game_assets method Increased timeout for game assets request to 300 seconds. this for people who have 500+ games and gets timeout error. Tested with an account contained 500+ games and 1000+ fab assets. Work fine without any other error messages --- legendary/api/egs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legendary/api/egs.py b/legendary/api/egs.py index c7a198f..f4d52af 100644 --- a/legendary/api/egs.py +++ b/legendary/api/egs.py @@ -171,7 +171,7 @@ class EPCAPI: def get_game_assets(self, platform='Windows', label='Live'): r = self.session.get(f'https://{self._launcher_host}/launcher/api/public/assets/{platform}', - params=dict(label=label), timeout=self.request_timeout) + params=dict(label=label), timeout=300) r.raise_for_status() return r.json()