move auth timeout to settings

This commit is contained in:
2025-12-10 01:48:08 +01:00
parent ef4e4c43ae
commit dc94bb8ba5
2 changed files with 2 additions and 3 deletions

View File

@@ -5,6 +5,7 @@ class Settings(BaseSettings):
jellyfin_server_url: str = Field(..., env="JELLYFIN_SERVER_URL")
jellyfin_username: str = Field(..., env="JELLYFIN_USERNAME")
jellyfin_password: str = Field(..., env="JELLYFIN_PASSWORD")
jellyfin_auth_timeout: int = Field(10 * 60, env="JELLYFIN_AUTH_TIMEOUT") # default 10 minutes
discord_app_id: str = Field(..., env="DISCORD_APP_ID")