fastify-mysql
fastify-mysql copied to clipboard
Mention mysql2 pooling option in the docs
Prerequisites
- [X] I have written a descriptive issue title
- [X] I have searched existing issues to ensure the feature has not already been requested
🚀 Feature Proposal
Mysql2 pooling is good for performance https://www.npmjs.com/package/mysql2#using-connection-pools also it have promise pool
Motivation
To improve performance when it have a lot of connection to mysql
Example
No response
It is already doable and the default setting as well
from docs:
If you don't use the connectionString option, the options that you pass to register will be passed to the MySQL pool builder.
https://github.com/fastify/fastify-mysql/blob/e492e3c59728cffb221aa8403925101c399d16eb/index.js#L67
Would you mind improving our docs?