Skip to content

Commit

Permalink
clean: add more tries
Browse files Browse the repository at this point in the history
  • Loading branch information
Atala committed Mar 5, 2025
1 parent cb15cea commit a96a964
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Service/Geocoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ private function createAddokProvider() {
RateLimiterMiddleware::perSecond($this->rateLimitPerSecond, $this->rateLimiterStore);

$decider = function ($retries, $request, $response, $exception) {
// Limit the number of retries to 5
if ($retries >= 5) {
// Limit the number
if ($retries >= 10) {
return false;
}

Expand Down

0 comments on commit a96a964

Please sign in to comment.