summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2026-03-21 10:46:52 +0100
committerSefa Eyeoglu <contact@scrumplex.net>2026-03-21 10:46:54 +0100
commit9109552756f680b53bf512baea1ca8d459ca516e (patch)
tree75f0aa31be09602f1ec216c1672c0cf6a5a2ff04
parent8218afe5dc299cc5b6dec3b162ad25d8355ff952 (diff)
downloadProject-Tick-9109552756f680b53bf512baea1ca8d459ca516e.tar.gz
Project-Tick-9109552756f680b53bf512baea1ca8d459ca516e.zip
fix(common): disable forever cache
This caused a lot of cached data that we don't really need. Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
-rw-r--r--meta/common/__init__.py4
1 files 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"})