store icon indicating copy to clipboard operation
store copied to clipboard

Internal Server Error when we do “too much” on the Printful side

Open cassidyjames opened this issue 4 years ago • 3 comments

What Happened

If we create a few new products or change a few mockup images, it seems to crash the store for some amount of time.

Expected Behavior

We can create away on the Printful backend without crashing things.

Steps to Reproduce

  1. Make sure the store is up
  2. Change a bunch of stuff on Printful (e.g. mockups or add products)
  3. See the site crash

cassidyjames avatar Apr 14 '21 23:04 cassidyjames

Two solutions:

  1. We remove the webhook and we just need to redeploy the store when ever there is an update on printful's side
  2. We setup a debounce system for the webhook (complicated now, but oban is needed for another script that will be running in the future)

btkostner avatar Apr 14 '21 23:04 btkostner

Hm, it seems with the number of products we have just redeploying is now hitting Printful’s API limits. :grimacing:

cassidyjames avatar Apr 15 '21 18:04 cassidyjames

Heh, that wasn't a deploy issue. It was the PR suggestion I made that broke things :sweat:

btkostner avatar Apr 15 '21 19:04 btkostner