1
0
Fork 0
forked from sr2/cloud-api

feat(db): db tuning options and consistency

This commit is contained in:
Iain Learmonth 2026-06-22 12:58:37 +01:00 committed by luxferre
parent 40918fd8b8
commit 84ba3b6bee
12 changed files with 104 additions and 80 deletions

View file

@ -36,6 +36,10 @@ class Config(CustomBaseSettings):
DATABASE_HOSTNAME: str = "localhost"
DATABASE_CREDENTIALS: SecretStr = SecretStr(":")
DATABASE_POOL_SIZE: int = 16
DATABASE_POOL_TTL: int = 60 * 20 # 20 minutes
DATABASE_POOL_PRE_PING: bool = True
LETTERMINT_API_TOKEN: SecretStr = SecretStr("")