mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-02-20 07:59:50 -05:00
this mostly adds a timeout=60 to all requests this does mainly wants a timeout to all requests functions, since when left out they hang infinitly. I added a timeout of 60s, which is probably way too high, but since before this there was none, I guess it's an improvement?
10 lines
237 B
Python
10 lines
237 B
Python
from pydantic_settings import BaseSettings
|
|
|
|
|
|
class DbConfig(BaseSettings):
|
|
host: str = "localhost"
|
|
port: int = 5432
|
|
user: str = "MediaManager"
|
|
password: str = "MediaManager" # noqa: S105
|
|
dbname: str = "MediaManager"
|