Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Pool improvement :
New Options
`idleTimeout` | Indicate idle time after which a pool connection is released. Value must be lower than @@wait_timeout. In seconds (0 means never release) | integer | 1800 |
`minimumIdle` | Permit to set a minimum number of connection in the pool. | integer | set to connectionLimit value |
2 goals :
- permit not having fixed pool size
- For pools that does have a period of inactivity, permit to release connection before server close the connection due to inactivity.
Handling connection error
In case of failover, pool must wait for some small time before the next connection creation.
Current implementation loops, resulting in using much CPU for no reason.
Initial pooling activation errors must clearly be logged.