phpclassic / php-shopify

PHP SDK for Shopify API
Apache License 2.0
568 stars 211 forks source link

Add total time spent in sleep during multiple requests #292

Closed RobertoRomolini closed 1 year ago

RobertoRomolini commented 1 year ago

Currently, it is not possible to see the past sleep time due to rate limit exceeded during multiple requests of an integration flow. With this modification, it is possible to call the static variable "CurlRequest::$totalRetrySleepTime" from outside in order to know the actual total time spent in sleep.