Skip to content

[Messenger] Stop worker when it should stop #33298

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

Merged
merged 1 commit into from
Aug 26, 2019
Merged

[Messenger] Stop worker when it should stop #33298

merged 1 commit into from
Aug 26, 2019

Conversation

tienvx
Copy link
Contributor

@tienvx tienvx commented Aug 23, 2019

Q A
Branch? 4.3
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets NA
License MIT
Doc PR NA

There are 2 things about this PR:

@tienvx tienvx changed the title Stop worker when it should stop [Messenger] Stop worker when it should stop Aug 23, 2019
@nicolas-grekas nicolas-grekas added this to the 4.3 milestone Aug 23, 2019
@fabpot
Copy link
Member

fabpot commented Aug 26, 2019

Thank you @tienvx.

fabpot added a commit that referenced this pull request Aug 26, 2019
This PR was merged into the 4.3 branch.

Discussion
----------

[Messenger] Stop worker when it should stop

| Q             | A
| ------------- | ---
| Branch?       | 4.3 <!-- see below -->
| Bug fix?      | yes
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | NA   <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | NA <!-- required for new features -->

<!--
Replace this notice by a short README for your feature/bugfix. This will help people
understand your PR and can be used as a start for the documentation.

Additionally (see https://symfony.com/roadmap):
 - Bug fixes must be submitted against the lowest maintained branch where they apply
   (lowest branches are regularly merged to upper ones so they get the fixes too).
 - Features and deprecations must be submitted against branch 4.4.
 - Legacy code removals go to the master branch.
-->

There are 2 things about this PR:
* This PR fix the bug when using `limit`, `memory-limit`, `time-limit` options with command `messenger:consume`, these options does not work if the receiver return multiple messages
* This PR is the continue work of #32783

Commits
-------

5c1f3a2 [Messenger] Stop worker when it should stop
@fabpot fabpot merged commit 5c1f3a2 into symfony:4.3 Aug 26, 2019
@fabpot fabpot mentioned this pull request Aug 26, 2019
@tienvx tienvx deleted the stop-worker-when-it-should-stop branch August 26, 2019 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants