#Big Price list crashing the backend

1 messages · Page 1 of 1 (latest)

grand thunder
#

issue: https://github.com/medusajs/medusa/issues/4468

This one is quite critical... I'm happy to create a PR to fix this issue, but it's probably better if someone @ medusa fixes this as there are implications that I might not cover...

GitHub

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 ...

woeful fjord
#

Interesting. We will soon upload pricelists of 100k and more… so something we will run into as well

grand thunder
#

Yes - I'm pretty sure you will... I just think that the issue is because it fetches all products related data when you get on the admin price list section. We tried uploading price list of 5k - that worked - but after 5 lists - it ends up doing the same thing. In the admin page, we should really fetch the root of the price list and get only paginated products when you open the price list. That would fix the issue

stable brook
#

I'll investigate this issue. Will keep you guys posted

woeful fjord
#

@grand thunder so as Long as you don’t use admin it works?

grand thunder
#

Yes