This commit is contained in:
doms9 2025-10-08 20:42:29 -04:00
parent a26fb90534
commit 00000d9121
2 changed files with 1 additions and 2 deletions

View file

@ -12,7 +12,7 @@ log = get_logger(__name__)
urls: dict[str, dict[str, str | float]] = {}
API_FILE = Cache(Path(__file__).parent / "caches" / "ppv_api.json", exp=86_400)
API_FILE = Cache(Path(__file__).parent / "caches" / "ppv_api.json", exp=28_800)
CACHE_FILE = Cache(Path(__file__).parent / "caches" / "ppv.json", exp=10_800)

View file

@ -5,7 +5,6 @@ from .config import Time
class Cache:
def __init__(self, file: Path, exp: int | float) -> None:
self.file = file
self.exp = exp