Skip to content
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

Merged
merged 7 commits into from
Sep 11, 2017
Merged

Queue Consumer Options #193

merged 7 commits into from
Sep 11, 2017

Conversation

ASKozienko
Copy link
Member

@ASKozienko ASKozienko commented Sep 8, 2017

fixes #191

@@ -423,4 +423,25 @@ public function testShouldAllowEnableAsyncEvents()
],
], $config);
}

public function testShouldAllowConfigureConsumption()
Copy link
Member

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,
Copy link
Member

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.')
Copy link
Member

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

@makasim makasim merged commit 1e1ee8e into master Sep 11, 2017
@makasim makasim deleted the queue-consumer-options branch September 11, 2017 09:00
ASKozienko pushed a commit that referenced this pull request Nov 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Redis consumer has very high resource usage
2 participants