FoxComm / highlander

Because there can only be one
MIT License
9 stars 3 forks source link

Very slow response time when adjusting quantity for products in Cart in Storefront #1612

Open kiryakov opened 7 years ago

kiryakov commented 7 years ago

Steps

  1. Open https://stage.foxcommerce.com/ or TGP
  2. Sign in with your user, find any product, add it to cart
  3. Change quantity for Product to other value to 10 for instance

Result

  1. Changes will be applied in few seconds, for real its like >5seconds, tooo slowly

Expected

  1. Should change number of items faster (no need to wait something...actually)

Additional Scenario

  1. Dont wait when changed number will be shown, change number of items few times to different values

Result

  1. Error:Service Unavailable error will be shown, button "Remove" will not be clickable

Expected

  1. No Errors

Video https://www.dropbox.com/s/cgdfqh77iky46ft/reproServiceUnavailable.mov?dl=0

image

Console error

https://stage.foxcommerce.com/api/v1/my/cart/line-items 503 (Service Unavailable)
app-f1143e725f.js:16 Error: Service Unavailable
    at n (app-f1143e725f.js:16)
    at app-f1143e725f.js:16
michalrus commented 7 years ago

@anna-zzz @jmataya =)

annappropriate commented 7 years ago

Does the same horror happen in admin?

annappropriate commented 7 years ago

Also, I'm kinda glad we got over to this kind of bugs... Means that at least the simplest scenarios work :trollface:

kiryakov commented 7 years ago

@anna-zzz yep very similar thing is happening in admin too (at least slow changing also)

annappropriate commented 7 years ago

https://github.com/FoxComm/highlander/issues/2068