Skip to content

Commit 7698928

Browse files
committed
fix(shopify): change throttling amount
1 parent 4c16f1d commit 7698928

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/CurlRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ protected static function processRequest($ch, $url)
145145

146146
$output = null;
147147
while(1) {
148-
Redis::throttle($host)->allow(2)->every(1)->then(function () use (&$ch, &$output) {
148+
Redis::throttle($host)->allow(2)->every(2)->then(function () use (&$ch, &$output) {
149149
$output = curl_exec($ch);
150150
self::$lastHttpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
151151
},

0 commit comments

Comments
 (0)