We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9195fa6 commit 5342eecCopy full SHA for 5342eec
1 file changed
openml/_api/setup/config.py
@@ -1,6 +1,7 @@
1
from __future__ import annotations
2
3
from dataclasses import dataclass, field
4
+from datetime import timedelta
5
6
from openml.enums import APIVersion, RetryPolicy
7
@@ -58,6 +59,6 @@ class Config:
58
59
cache: CacheConfig = field(
60
default_factory=lambda: CacheConfig(
61
dir=str(_resolve_default_cache_dir()),
- ttl=60 * 60 * 24 * 7,
62
+ ttl=int(timedelta(weeks=1).total_seconds()),
63
)
64
0 commit comments