swordfox / silverstripe-shopify

Import Shopify products & collections, implements the buy button to create a simple cart and checkout. Webhooks to keep your store synced.
BSD 3-Clause "New" or "Revised" License
2 stars 2 forks source link

Added sleepByConfig #1

Closed bumbus closed 1 year ago

bumbus commented 3 years ago

I always had problems with shopify rate limit during imports. So I addeed the ability to configure a sleep time in microseconds. It could be turned of by setting something like this:

Swordfox\Shopify\Task\Import:
  sleep_microseconds_after_request: none