Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running a query multiple times in a row occasionally gives: Query runner already released. Cannot run queries anymore. #3352

Open
hsensh opened this issue Feb 8, 2025 · 0 comments
Labels
type: bug 🐛 Something isn't working

Comments

@hsensh
Copy link
Contributor

hsensh commented Feb 8, 2025

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:

  1. Run a complex query on the browser through API (not Postman or API client, I could never reproduce it with Postman)
  2. 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
@hsensh hsensh added the type: bug 🐛 Something isn't working label Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant