Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Use a new MariaDB connection object for every api request #1012
90% of the code changes are just adding
Improvement - Each API request will generate a new MariaDB connection (#920)
Seeing a lot of error messages now about too many connections:
It looks like connections must explicitly be closed, combined with a new connection for every request makes sense that it runs out. Just looking at the docs for apollo server I can't see any way to close the connection after a request has been "finished." Will have to dig into code or ask SO or somewhere.