chore: increase limits for pg connections (#1746)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user