[CONJS-179] better pool option `resetAfterUse` default value Created: 2021-10-01  Updated: 2021-10-18  Resolved: 2021-10-18

Status: Closed
Project: MariaDB Connector/node.js
Component/s: configuration
Affects Version/s: None
Fix Version/s: 3.0.0-rc

Type: Task Priority: Major
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None


 Description   

Pool option `resetAfterUse` permit to indicate if resetting connection when releasing connection to pool.

Default value is true, so each time a connection is released to pool, a COM_RESET command will be issued. A better default is only sending a ROLLBACK command if a transaction is still in progress. This avoid an additional command each time. A better default is false.


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