MONEI / Shopify-api-node

Node Shopify connector sponsored by MONEI
https://monei.com/shopify-payment-gateway/
MIT License
945 stars 278 forks source link

can I use an auto limit with promises.all? #543

Closed guilhermeprokisch closed 2 years ago

guilhermeprokisch commented 2 years ago

Hello there.

If I store all promises in an array and use with promises.all the autolimit it's should work? I tried but still get some Rate Limit error.

lpinca commented 2 years ago

Yes it should. Try to reduce the value of the autoLimit.bucketSize option. Also keep in mind that the limit is applied to a single Shopify instance. If you have multiple Shopify instances for the same shop you have to further tweak the configuration.

guilhermeprokisch commented 2 years ago

Thanks