This commit is contained in:
Jakub Miazek
2022-11-12 18:41:39 +01:00
parent 8d44b4a5eb
commit dbe64008f8
10 changed files with 42 additions and 21 deletions

View File

@@ -38,7 +38,7 @@ class Settings(BaseSettings):
jwt_access_toke_expire_minutes: int = os.getenv("ACCESS_TOKEN_EXPIRE_MINUTES", 1)
@lru_cache()
@lru_cache
def get_settings():
logger.info("Loading config settings from the environment...")
return Settings()