node-mysql2 icon indicating copy to clipboard operation
node-mysql2 copied to clipboard

Feature Request - Queue Size Visibility

Open Fernando0k opened this issue 3 months ago • 4 comments

It would be very useful if it could provide an event or use the acquire event to trigger when a queued connection is pulled from the queue and acquired. This will enable the determination of the current queue depth or size at any given moment, helping to diagnose connection pool bottlenecks and improve the observability of connection usage in real-time.

Fernando0k avatar Oct 03 '25 11:10 Fernando0k

please assign me this issue.

shubhanshu2103 avatar Nov 22 '25 08:11 shubhanshu2103

please assign me this issue.

Hey, @shubhanshu2103! You can open a Pull Request and write in the description: "Fixes #3844", for example. This will link your PR to this Issue and will close it on merging 🙋🏻‍♂️

wellwelwel avatar Nov 22 '25 19:11 wellwelwel

@wellwelwel working on it !

shubhanshu2103 avatar Nov 23 '25 07:11 shubhanshu2103

@wellwelwel I have raised the pr, kindly check and let me know if any update.

shubhanshu2103 avatar Nov 23 '25 10:11 shubhanshu2103