Smile-SA / magento2-module-store-locator

Magento 2 store locator module
50 stars 57 forks source link

Performance issue when having more than 10000 stores #14

Open paugnu opened 7 years ago

paugnu commented 7 years ago

Hi,

We have created 10000 stores locations. When trying to load the stores page, it takes minutes to load all the stores (actually, we get a server error in the end).

Steps to reproduce:

  1. Create 10000 store locations
  2. Try to access to the stores page

Expected result: the store map and stores are loaded. Actual result: the page loads until we get a max_time error

romainruaud commented 7 years ago

I can confirm the bug for now, since I saw it on your environment.

I will reproduce it on my machine and see how I can provide a fix.

Regards,

weblips commented 5 years ago

Hi, Is there a solution for this problem?

Fdec commented 5 years ago

Hi @weblips ,

For the moment we will not propose a fix because it's not in our list of priority :/ But if you can fix it, we'll love having a PR :)