Skip to content

Commit e7b9c51

Browse files
committed
Fix retry condition for 504 Gateway Timeout in OverpassCommand.php
1 parent aa436a6 commit e7b9c51

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Command/OverpassCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ function ($retries, $request, $response, $exception) {
117117
}
118118

119119
// Retry on 504 Gateway Timeout
120-
if ($response && $response->getStatusCode() >= 504) {
120+
if ($response && $response->getStatusCode() == 504) {
121121
return true;
122122
}
123123

0 commit comments

Comments
 (0)