Skip to content

Commit f388e4e

Browse files
authored
Introduce request retries
1 parent 8ed9b91 commit f388e4e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Builder.php

+1
Original file line numberDiff line numberDiff line change
@@ -1712,6 +1712,7 @@ private function fetchApi(bool $count = false): mixed
17121712
'Authorization' => 'Bearer ' . ApiHelper::retrieveAccessToken(),
17131713
])
17141714
->withBody($this->getQuery(), 'plain/text')
1715+
->retry(3, 100)
17151716
->post($endpoint)
17161717
->throw()
17171718
->json();

0 commit comments

Comments
 (0)