-
Notifications
You must be signed in to change notification settings - Fork 439
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Queue Consumer Options #193
Conversation
@@ -423,4 +423,25 @@ public function testShouldAllowEnableAsyncEvents() | |||
], | |||
], $config); | |||
} | |||
|
|||
public function testShouldAllowConfigureConsumption() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there must be test for such case: "nothing is set then default values are used"
'transport' => [ | ||
], | ||
'consumption' => [ | ||
'idle-timeout' => 123, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it must be underscore "_" instead of dash "-"
{ | ||
$this | ||
->addOption('idle-timeout', null, InputOption::VALUE_REQUIRED, 'The time in milliseconds queue consumer waits if no message received.') | ||
->addOption('receive-timeout', null, InputOption::VALUE_REQUIRED, 'The time in milliseconds queue consumer waits for a message.') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
those values should not be required imo
fixes #191