diff options
| author | Alexandru Ionut Tripon <alexandru.tripon97@gmail.com> | 2026-03-21 15:26:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-21 15:26:44 +0200 |
| commit | 950e29e58579f35fd73b2d08a2c1b0f6e6588ead (patch) | |
| tree | 8f23f36ab1e1f4fa0c3383b9e55018bbd67418ab /meta | |
| parent | d55bc04feeb79eb7a8febe681bfad8eca27aac6f (diff) | |
| parent | 9109552756f680b53bf512baea1ca8d459ca516e (diff) | |
| download | Project-Tick-950e29e58579f35fd73b2d08a2c1b0f6e6588ead.tar.gz Project-Tick-950e29e58579f35fd73b2d08a2c1b0f6e6588ead.zip | |
Merge pull request #120 from PrismLauncher/fix/disable-forever-cache
fix(common): disable forever cache
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/common/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/common/__init__.py b/meta/common/__init__.py index 922ff98655..04e3bdfbb0 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"}) |
