[CONPY-114] Can't add connection to pool Created: 2020-09-16 Updated: 2020-09-19 Resolved: 2020-09-19 |
|
| Status: | Closed |
| Project: | MariaDB Connector/Python |
| Component/s: | Documentation |
| Affects Version/s: | 1.0.1 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Luciano Barcaro | Assignee: | Georg Richter |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Hi Georg, I created a pool with only 2 pre connections with
Checked the max_size of pool
But, if I try to add some new connection to pool,
I get the exception mariadb.PoolError: Couldn't add connection to pool 'test' (no free slot available). Am I missing something? |
| Comments |
| Comment by Georg Richter [ 2020-09-19 ] |
|
It's not possible to change the size of the pool. See Documentation: "MariaDB Connector/Python supports simple connection pooling. A connection pool holds a number of open connections and handles thread safety when providing connections to threads. |