diff --git a/api/.vscode/launch.json b/api/.vscode/launch.json index 88c3bb3..5324b52 100644 --- a/api/.vscode/launch.json +++ b/api/.vscode/launch.json @@ -14,6 +14,7 @@ ], "env": { "PYDEVD_DISABLE_FILE_VALIDATION": "1", + "CACHE_TTL": "30", }, "justMyCode": true, } diff --git a/api/advent22_api/settings.py b/api/advent22_api/settings.py index 2adaa8a..6b79a60 100644 --- a/api/advent22_api/settings.py +++ b/api/advent22_api/settings.py @@ -58,7 +58,7 @@ class Settings(BaseSettings): webdav: DavSettings = DavSettings() - cache_ttl: int = 30 + cache_ttl: int = 60 * 30 config_filename: str = "config.toml"