[CONJS-176] Change Pool cluster default option removeNodeErrorCount value to Infinity Created: 2021-09-14 Updated: 2021-09-14 Resolved: 2021-09-14 |
|
| Status: | Closed |
| Project: | MariaDB Connector/node.js |
| Component/s: | configuration, documentation |
| Affects Version/s: | None |
| Fix Version/s: | 3.0.0-rc |
| Type: | Task | Priority: | Minor |
| Reporter: | Diego Dupin | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Option `removeNodeErrorCount` has a default value of 5. This default value has been set for compatibility with mysql/mysql2 drivers, When a node doesn't respond, it is already blacklisted for some time, a better solution for new 3.x version is to have Infinity as default, and document that difference with other driver. |