[CONPY-247] Connection pool: allow to specifiy validation interval Created: 2023-02-03  Updated: 2023-02-03  Resolved: 2023-02-03

Status: Closed
Project: MariaDB Connector/Python
Component/s: Connection Pooling
Affects Version/s: N/A
Fix Version/s: 1.1.6

Type: Task Priority: Major
Reporter: Georg Richter Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None


 Description   

Add an additional option "pool_validation_interval".

To reduce the status checking (ping) when obtaining a new connection from pool, pool_validation_interval specifies the time after which a connection will be checked again.
This avoids unnecessary verification in case of frequent reuse.
Default value will be 500ms, 0 means that the connection will always be checked.


Generated at Thu Feb 08 03:31:21 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.