Connector/Node.js 2.0.5 Release Notes

circle-info

Downloadarrow-up-right | Release Notes | Changelog | Connector/Node.js Overview

Release date: 13 May 2019

MariaDB Connector/Node.js 2.0.5 is a Stable (GA) release.

circle-check

Notable Changes

Pool improvement

New Options

Option
Description
Type
Default

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 pool. Recommendation is to use fixed pool, so not setting this value.

integer

set to connectionLimit value

This permits to set a minimum pool size, meaning that after a period of inactivity, the pool will decrease the inner number of connection to a minimum number of connections (defined with minimumIdle). By default, connections not used after idleTimeout (default to 30 minutes) will be discarded, avoiding reaching server @@wait_timeout.

Pool handle connection creation automatically, with now some delayed after failing to establish a connection, to avoid using CPU unnecessary. Authentication error in pool have now a better handling.

Changelog

For a complete list of changes made in this release, with links to detailed information on each push, see the changelog.

This page is: Copyright © 2025 MariaDB. All rights reserved.

spinner

Last updated

Was this helpful?