Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cassidyjames opened this issue Apr 14, 2021 · 3 comments
Open

Comments

@cassidyjames
Copy link
Contributor

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
@btkostner
Copy link
Contributor

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)

@cassidyjames
Copy link
Contributor Author

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

@btkostner
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants