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] Make sure redis transports are initialized correctly#36449

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
chalasr merged 1 commit intosymfony:4.4fromSeldaek:patch-10
Apr 14, 2020

Conversation

@Seldaek
Copy link
Member

@SeldaekSeldaek commentedApr 14, 2020
edited
Loading

QA
Branch?4.4
Bug fix?yes
New feature?no
Deprecations?no
Tickets
LicenseMIT

Took me a while to figure out why my messages were dispatched/handled twice.. Turns out I had two messenger transports using the same dsn and the parsing was broken so they ended up both polling from a"" stream, which caused them to both handle the messages (I think).

Below my config, note the trailing slash in the dsn was the root cause of the issue, but I don't think it's that unreasonable.

.env:MESSENGER_TRANSPORT_DSN=redis://localhost:6379/?dbindex=3messenger.yml:            async_urgent:                dsn: '%env(MESSENGER_TRANSPORT_DSN)%'                options:                    group: async_urgent                    stream: messages_urgent            async:                dsn: '%env(MESSENGER_TRANSPORT_DSN)%'                options:                    group: async                    stream: messages

alexander-schranz reacted with thumbs up emoji
@chalasr
Copy link
Member

Can you apply fabbot’s patch?

@Seldaek
Copy link
MemberAuthor

Yup done sorry I didn't see the failure.

@chalasr
Copy link
Member

Good catch, thanks@Seldaek.

@chalasrchalasr merged commitefb0dee intosymfony:4.4Apr 14, 2020
This was referencedApr 28, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@chalasrchalasrchalasr approved these changes

@srozesrozeAwaiting requested review from sroze

+1 more reviewer

@alexander-schranzalexander-schranzalexander-schranz approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

4.4

Development

Successfully merging this pull request may close these issues.

4 participants

@Seldaek@chalasr@alexander-schranz@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp