mirror of
https://code.lenaisten.de/Lenaisten/advent22.git
synced 2024-11-23 08:13:01 +00:00
cache_ttl default
This commit is contained in:
parent
5cf0846c68
commit
30c5788d4d
2 changed files with 2 additions and 1 deletions
1
api/.vscode/launch.json
vendored
1
api/.vscode/launch.json
vendored
|
@ -14,6 +14,7 @@
|
||||||
],
|
],
|
||||||
"env": {
|
"env": {
|
||||||
"PYDEVD_DISABLE_FILE_VALIDATION": "1",
|
"PYDEVD_DISABLE_FILE_VALIDATION": "1",
|
||||||
|
"CACHE_TTL": "30",
|
||||||
},
|
},
|
||||||
"justMyCode": true,
|
"justMyCode": true,
|
||||||
}
|
}
|
||||||
|
|
|
@ -58,7 +58,7 @@ class Settings(BaseSettings):
|
||||||
|
|
||||||
webdav: DavSettings = DavSettings()
|
webdav: DavSettings = DavSettings()
|
||||||
|
|
||||||
cache_ttl: int = 30
|
cache_ttl: int = 60 * 30
|
||||||
config_filename: str = "config.toml"
|
config_filename: str = "config.toml"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue