feat: add min-connection and max-connection for pgvector (#8841)

This commit is contained in:
zhuhao
2024-09-27 18:16:20 +08:00
committed by GitHub
parent c828a5dfdf
commit 55e6123db9
5 changed files with 28 additions and 2 deletions

View File

@@ -391,6 +391,8 @@ PGVECTOR_PORT=5432
PGVECTOR_USER=postgres
PGVECTOR_PASSWORD=difyai123456
PGVECTOR_DATABASE=dify
PGVECTOR_MIN_CONNECTION=1
PGVECTOR_MAX_CONNECTION=5
# pgvecto-rs configurations, only available when VECTOR_STORE is `pgvecto-rs`
PGVECTO_RS_HOST=pgvecto-rs