-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Messenger] [Redis] Prepare turning delete_after_ack
to true
in 6.0
#42163
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
Conversation
delete_after_ack
to true
in 6.0delete_after_ack
to true
in 6.0
d18171f
to
80f94d4
Compare
Thank you @chalasr. Think consistents between to transports are important here and did lead in do past in unexpected errors. |
This PR was merged into the 4.4 branch. Discussion ---------- [CI] Fix wrongly skipped integration tests | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - The integration tests from bridges located in components (e.g. `Notifier/Bridge/Discord/Tests` or `Messenger/Bridge/Redis/Tests`) were excluded from the CI. Spotted while working on #42163 - Some redis-messenger tests are currently broken on 5.x, which we didn't spot because of the missing entry in the phpunit config. Commits ------- 438a503 [ci] Fix wrongly skipped integration tests
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.
I agree with this change.
I would like you two write "Redis" where it make sense. I also have one question.
src/Symfony/Component/Messenger/Bridge/Redis/Tests/Transport/ConnectionTest.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Messenger/Bridge/Redis/Transport/Connection.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Messenger/Bridge/Redis/Tests/Transport/ConnectionTest.php
Outdated
Show resolved
Hide resolved
Thanks for the review Tobias, suggestions applied. |
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.
(with minor comments)
src/Symfony/Component/Messenger/Bridge/Redis/Tests/Transport/ConnectionTest.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Messenger/Bridge/Redis/Tests/Transport/ConnectionTest.php
Outdated
Show resolved
Hide resolved
0b44408
to
1439f37
Compare
@nicolas-grekas Thanks, all fixed |
755cf01
to
3be461b
Compare
Having this option turned on makes redis-messenger much more consistent with other transports, more adapted to the 80% use case and more importantly, prevents having to deal with OOM issues.