chore: increase limits for pg connections (#1746)

This commit is contained in:
Sarah Wooders
2025-04-16 20:34:36 -07:00
committed by GitHub
parent 64d81cbb68
commit f989f0d7fe

View File

@@ -167,8 +167,8 @@ class Settings(BaseSettings):
pg_host: Optional[str] = None
pg_port: Optional[int] = None
pg_uri: Optional[str] = default_pg_uri # option to specify full uri
pg_pool_size: int = 20 # Concurrent connections
pg_max_overflow: int = 10 # Overflow limit
pg_pool_size: int = 80 # Concurrent connections
pg_max_overflow: int = 30 # Overflow limit
pg_pool_timeout: int = 30 # Seconds to wait for a connection
pg_pool_recycle: int = 1800 # When to recycle connections
pg_echo: bool = False # Logging