Skip to content

Commit 5cde119

Browse files
committed
set POSTGRES_MINSIZE=2 default value
1 parent 116e556 commit 5cde119

File tree

1 file changed

+1
-1
lines changed
  • packages/settings-library/src/settings_library

1 file changed

+1
-1
lines changed

packages/settings-library/src/settings_library/postgres.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class PostgresSettings(BaseCustomSettings):
3232
# pool connection limits
3333
POSTGRES_MINSIZE: Annotated[
3434
int, Field(description="Minimum number of connections in the pool", ge=1)
35-
] = 5
35+
] = 2
3636
POSTGRES_MAXSIZE: Annotated[
3737
int, Field(description="Maximum number of connections in the pool", ge=1)
3838
] = 50

0 commit comments

Comments
 (0)