chore: increase default cache time to live to 15 minutes

This commit is contained in:
draconicdragon
2025-12-13 06:23:04 +01:00
parent b9b43e7ef5
commit 2ef0200c4c
+1 -1
View File
@@ -67,7 +67,7 @@ _client = VeniceClient()
# to prevent spamming api.
# can be bypassed by setting force_refresh=True in get_* calls
_CACHE_TTL = float(os.environ.get("VENICE_CATALOG_TTL", "300"))
_CACHE_TTL = float(os.environ.get("VENICE_CATALOG_TTL", "900"))
_models_last_refresh = 0.0
_styles_last_refresh = 0.0
_characters_last_refresh = 0.0