-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[FrameworkBundle] Deprecate the messenger.reset_on_message config option #45705
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
Q | A |
---|---|
Branch? | 6.1 |
Bug fix? | no |
New feature? | no |
Deprecations? | yes |
Tickets | Continues #43203 (comment) |
License | MIT |
Doc PR | symfony/symfony-docs#... |
UPGRADE-6.1.md
Outdated
FrameworkBundle | ||
--------------- | ||
|
||
* Deprecate the `reset_on_message` config option. It can be set to `true` only and does nothing now |
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.
Can you mention the alternative?
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.
What is the alternative? The reset_on_message
does nothing already. It was nedded to indicate the changing of the default behaviour in 6.0.
The original plan: #43133 (comment)
Future details: #43203 (comment)
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.
Should I add the info: "To prevent services resetting after each message you can set the "--no-reset" option in "messenger:consume" command?"
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.
Sounds good to me @upyx
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.
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.
The new way is already described in the error message.
The "framework.messenger.reset_on_message" configuration option can be set to "true" only. To prevent services resetting after each message you can set the "--no-reset" option in "messenger:consume" command.'
2f091e5
to
ba842e3
Compare
ba842e3
to
6591c8f
Compare
Thank you @upyx. |