Skip to content

Commit

Permalink
frankenphp: break loop when loopMax is reached
Browse files Browse the repository at this point in the history
  • Loading branch information
tamcy committed Jun 14, 2024
1 parent 522e812 commit a5bce1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frankenphp-symfony/src/Runner.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function run(): int
}

gc_collect_cycles();
} while ($ret && (-1 === $this->loopMax || ++$loops <= $this->loopMax));
} while ($ret && (-1 === $this->loopMax || ++$loops < $this->loopMax));

return 0;
}
Expand Down

0 comments on commit a5bce1c

Please sign in to comment.