Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@

## [Unreleased]

## [5.0.2] - 2025-04-03
## [5.0.2] - 2025-04-04

### Fixed

- fix root-path handling when setting in uvicorn command
- reduce `db_min_conn_size` to `1` to avoid creating too many db connections when starting the application

## [5.0.1] - 2025-03-27

Expand Down
2 changes: 1 addition & 1 deletion stac_fastapi/pgstac/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class PostgresSettings(BaseSettings):
postgres_port: int
postgres_dbname: str

db_min_conn_size: int = 10
db_min_conn_size: int = 1
db_max_conn_size: int = 10
db_max_queries: int = 50000
db_max_inactive_conn_lifetime: float = 300
Expand Down
Loading