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

Big Price Lists - Backend becomes unresponsive #4468

Closed
RegisHubelia opened this issue Jul 5, 2023 · 1 comment · Fixed by #4536
Closed

Big Price Lists - Backend becomes unresponsive #4468

RegisHubelia opened this issue Jul 5, 2023 · 1 comment · Fixed by #4536

Comments

@RegisHubelia
Copy link
Contributor

Bug report

Describe the bug

We wanted to have a discount store-wide - with over 20k products. We created a price list with all the products in it. I was able to see the money_amounts and the price list was there in the database. But as soon as we go in the price list table in the admin panel, it seems like all product information is fetched therefore creating a really huge query resulting in a time out - and as node is single thread - it hangs the backend until we manually restart the backend or the query finishes.

System information

Medusa version (including plugins): 12.1
Database: Postgres
Operating system: Linux

Steps to reproduce the behavior

  1. Create a parice list
  2. Add more than 10k products
  3. Click in Price List on the admin panel
  4. Backend becomes unresponsive

Expected behavior

I need to have a more in-depth look at why this happens, but I would expect us to be able to do big price lists without having to worry about crashing the store/backend.

@RegisHubelia
Copy link
Contributor Author

Thanks guys!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants