diff --git a/src/Executor/Executor.php b/src/Executor/Executor.php index b033e3f0c9..fc39ea46d6 100644 --- a/src/Executor/Executor.php +++ b/src/Executor/Executor.php @@ -142,7 +142,7 @@ class Executor } break; case 425: - for ($i = 0; $i < 3; $i++) { + for ($attempts = 0; $attempts < 3; $attempts++) { sleep(1); $response = $this->call(self::METHOD_POST, $route, $headers, $params, true, 30); $status = $response['headers']['status-code'];