Skip to content

Commit 81d9b99

Browse files
fix: used redirect count instead of retry count in base client
1 parent 04a055a commit 81d9b99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Core/BaseClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ protected function sendRequest(
271271
throw $exn;
272272
}
273273

274-
$seconds = $this->retryDelay($opts, retryCount: $redirectCount, rsp: $rsp);
274+
$seconds = $this->retryDelay($opts, retryCount: $retryCount, rsp: $rsp);
275275
$floor = floor($seconds);
276276
time_nanosleep((int) $floor, nanoseconds: (int) ($seconds - $floor) * 10 ** 9);
277277

0 commit comments

Comments
 (0)