store
store copied to clipboard
Internal Server Error when we do “too much” on the Printful side
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
- Make sure the store is up
- Change a bunch of stuff on Printful (e.g. mockups or add products)
- See the site crash
Two solutions:
- We remove the webhook and we just need to redeploy the store when ever there is an update on printful's side
- We setup a debounce system for the webhook (complicated now, but oban is needed for another script that will be running in the future)
Hm, it seems with the number of products we have just redeploying is now hitting Printful’s API limits. :grimacing:
Heh, that wasn't a deploy issue. It was the PR suggestion I made that broke things :sweat: