rodrigogs / mysql-events

A node package that watches a MySQL database and runs callbacks on matched events.
BSD 3-Clause "New" or "Revised" License
136 stars 52 forks source link

Allow Pool Connection #13

Closed lemnisk8 closed 5 years ago

lemnisk8 commented 5 years ago

Changes made to connectionHandler.js to allow Pool Connections

rodrigogs commented 5 years ago

Sorry, it had no tests and didn't match project's pattern. Also, your solution was to give a single connection object to the zongji lib anyway.

I rewrote the connection pool solition and added tests to it.

Thank you for the PR anyway, you gave me ideas.