Kijewski/node-mysql-pool — Issue #9: queries return null sometimes, depending on poolSize?
Author: anthonywebb
Created: 2011-10-17 23:01:18+00:00
State: open

I have a simple page that makes 2 requests to the mysql database. Each of these is done in their own pool.query()

If poolsize is set to 10 and start loading the page:
I get 2 page requests return data, 3 pages requests return no data, repeating, not mater how many times I hit the page.

If poolsize is set to 5 and start loading the page (no code changed except the poolSize):
I get 3 page requests return data, 2 pages requests return no data, repeating, not mater how many times I hit the page.

If poolsize is set to 2 and start loading the page:
All page requests get data without exception.

What is it about pool size that would cause something like this?

Thanks for the help!