Skip to content

Conversation

yonran
Copy link

@yonran yonran commented Dec 11, 2020

Remove parameter that apparently has never actually been supported

If you try including acquireTimeout in the PoolOptions from the TypeScript interface, then mysql2.createPool logs this warning (from #815): Ignoring invalid configuration option passed to Connection: acquireTimeout. This is currently a warning, but in future versions of MySQL2, an error will be thrown if you pass an invalid configuration option to a Connection.

Remove parameter that apparently has never actually been supported
@wellwelwel wellwelwel added typescript needs rebase For internal organization purpose labels Mar 5, 2025
@wellwelwel
Copy link
Collaborator

Currently acquireTimeout is no longer present in the typings.

Related:

@wellwelwel wellwelwel closed this Mar 5, 2025
@wellwelwel wellwelwel removed the needs rebase For internal organization purpose label Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants