Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Messenger] Remove DispatchAfterCurrentBusStamp when message is put on internal queue#32027

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Tobion merged 1 commit intosymfony:4.3fromNyholm:issue-32009
Jun 22, 2019

Conversation

@Nyholm
Copy link
Member

QA
Branch?4.3
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#32009
LicenseMIT
Doc PR

This willfix#32009.

Thank you@brpauwels for the report.

I consider it safe to remove theDispatchAfterCurrentBusStamp because its meaning disappear after we handled the "current bus".

T0: We add the stamp
T1: We put the envelope on an internal queue inDispatchAfterCurrentBusMiddleware
T2: We handle the current bus.
T3: We start processing our internal queue.

At T3 there we are "after current bus", that is why we dont need the stamp any more.

@nicolas-grekasnicolas-grekas changed the title[Messenger] Remove DispatchAfterCurrentBusStamp when message is put o…[Messenger] Remove DispatchAfterCurrentBusStamp when message is put on internal queueJun 15, 2019
@nicolas-grekasnicolas-grekas added this to the4.3 milestoneJun 15, 2019
@Tobion
Copy link
Contributor

Tobion commentedJun 18, 2019
edited
Loading

Isn't the better fix to mark the stamp asNonSendableStampInterface like I did inhttps://github.com/symfony/symfony/pull/32078/files#diff-b7c2047b729d043126dd65bd3e85d157R23 ?

@Tobion
Copy link
Contributor

I guess we can do both.

@Tobion
Copy link
Contributor

Thank you@Nyholm.

@TobionTobion merged commit91f1680 intosymfony:4.3Jun 22, 2019
Tobion added a commit that referenced this pull requestJun 22, 2019
…ge is put on internal queue (Nyholm)This PR was merged into the 4.3 branch.Discussion----------[Messenger] Remove DispatchAfterCurrentBusStamp when message is put on internal queue| Q             | A| ------------- | ---| Branch?       | 4.3| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#32009| License       | MIT| Doc PR        |This willfix#32009.Thank you@brpauwels for the report.I consider it safe to remove the `DispatchAfterCurrentBusStamp` because its meaning disappear after we handled the "current bus".T0: We add the stampT1: We put the envelope on an internal queue in `DispatchAfterCurrentBusMiddleware`T2: We handle the current bus.T3: We start processing our internal queue.At T3 there we are "after current bus", that is why we dont need the stamp any more.Commits-------91f1680 [Messenger] Remove DispatchAfterCurrentBusStamp when message is put on internal queue
@Nyholm
Copy link
MemberAuthor

Thank you for merging.

@fabpotfabpot mentioned this pull requestJun 26, 2019
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@weaverryanweaverryanweaverryan approved these changes

+2 more reviewers

@TobionTobionTobion approved these changes

@azjezzazjezzazjezz approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

4.3

Development

Successfully merging this pull request may close these issues.

6 participants

@Nyholm@Tobion@weaverryan@azjezz@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp