Open
Description
Describe the bug
I am running a query to fetch all data needed on site load. When the query runs multiple times in a row (when I refresh the page very past), it OCCASIONALLY gives me this error: Query runner already released. Cannot run queries anymore.
To Reproduce
Steps to reproduce the behavior:
- Run a complex query on the browser through API (not Postman or API client, I could never reproduce it with Postman)
- Hope to God error appears
Expected behavior
I believe it is an issue with how something is configured in TypeORM, but it should not have this behavior.
Environment (please complete the following information):
- @vendure/core version: 3.1.2
- Nodejs version: 18
- Database (mysql/postgres etc): MySQL