forked from sr2/cloud-api
feat(db): db tuning options and consistency
This commit is contained in:
parent
40918fd8b8
commit
84ba3b6bee
12 changed files with 104 additions and 80 deletions
|
|
@ -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("")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue