forked from OpenNeo/impress-2020
We do a thing where we sometimes proactively update an appearance layer's manifest from images.neopets.com when it's been a while since the last time, _during_ user requests. But when images.neopets.com is being slow, this makes our API requests about appearances super slow, too! In this change, we add a 2-second timeout to those requests. That should be plenty for when images.neopets.com is in a good mood, but also give up fast enough for the site to not feel miserable lol :p (especially when the use "Use DTI's image archive" option is on!) |
||
|---|---|---|
| .. | ||
| __image_snapshots__ | ||
| __snapshots__ | ||
| lib | ||
| types | ||
| auth-by-db.js | ||
| auth.js | ||
| db.js | ||
| index.js | ||
| load-pet-data.js | ||
| loaders.js | ||
| modeling.js | ||
| nc-trade-values.js | ||
| neopets-assets.js | ||
| outfit-images.js | ||
| outfit-images.test.js | ||
| ssr-graphql.js | ||
| util.js | ||
| util.test.js | ||