You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR changes the connection pool implementation to use the one from
the [database-connector](https://github.com/duckdb/database-connector)
repository.
The user-facing functionality stays the same with the following changes:
- default pool size is changed from `64` to `max(num_cpus, 8)`
- `pg_connection_cache` setting now can be used to disable the pool,
but not to re-enable it; `pg_connection_limit` setting should be set
to positive number to enable back the pool that was disabled.
- when the pool is enabled and all connection slots are already used,
the request to get the connection from the pool will try to acquire
the connection from the pool for 30 seconds before throwing an error.
More pool settings are planned to be exposed in subsequent PRs.
0 commit comments