Skip to content

Commit

Permalink
Merge pull request #1012 from zunnu/5.next
Browse files Browse the repository at this point in the history
Fix benchmark command option parser error
  • Loading branch information
dereuromark authored Jul 29, 2024
2 parents 28bd894 + b4711a5 commit 55745af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Command/BenchmarkCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,11 @@ protected function buildOptionParser(ConsoleOptionParser $parser): ConsoleOption
'required' => true,
])
->addOption('n', [
'default' => 10,
'default' => '10',
'help' => 'Number of iterations to perform.',
])
->addOption('t', [
'default' => 100,
'default' => '100',
'help' =>
'Maximum total time for all iterations, in seconds. ' .
'If a single iteration takes more than the timeout, only one request will be made',
Expand Down

0 comments on commit 55745af

Please sign in to comment.