mjhea0 / node-postgres-todo

http://mherman.org/blog/2015/02/12/postgresql-and-nodejs
MIT License
95 stars 60 forks source link

Fix for issue #3: refactoring of connection pool handing #4

Closed obscurerichard closed 9 years ago

obscurerichard commented 9 years ago

These changes fix the connection pool handling issues in index.js. See issue #3 for more details.

With these fixes in place, the server keeps the connections open that it starts as expected when the load is high.

See these load test results for a validation that this is working.

This builds on pull request #2 and includes all the changes in it.

haysclark commented 9 years ago

@obscurerichard Great work!

mjhea0 commented 9 years ago

:+1: Thanks so much!

obscurerichard commented 8 years ago

@haysclark Thanks for the compliment! @mjhea0 Thank you for merging the pull request!