From 9109552756f680b53bf512baea1ca8d459ca516e Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Sat, 21 Mar 2026 10:46:52 +0100 Subject: fix(common): disable forever cache This caused a lot of cached data that we don't really need. Signed-off-by: Sefa Eyeoglu --- meta/common/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/common/__init__.py b/meta/common/__init__.py index 1f358cdbd7..0f4d3d2ef7 100644 --- a/meta/common/__init__.py +++ b/meta/common/__init__.py @@ -82,8 +82,8 @@ def merge_dict(base: dict[Any, Any], overlay: dict[Any, Any]): def default_session(): - forever_cache = FileCache(os.path.join(cache_path(), "http_cache"), forever=True) - sess = CacheControl(requests.Session(), forever_cache) + cache = FileCache(os.path.join(cache_path(), "http_cache")) + sess = CacheControl(requests.Session(), cache) sess.headers.update({"User-Agent": "PrismLauncherMeta/1.0"}) -- cgit 0.0.5-2-1-g0f52