-
-
Notifications
You must be signed in to change notification settings - Fork 535
[14.0] queue_job: use parent channel if configured #412
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
guewen
left a 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.
This behavior is exactly the one I would expect in all situations.
Thanks!
flotho
left a 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.
LGTM
Use case: * you have a root channel per scope/app (eg: root.edi) * you have several sub channels (eg: root.edi.ubl.sales, root.edi.gs1.delivery) * you want to configure capacity only for the main channel "root.edi" Before this change, the channel manager falls back on root channel. However, if you have a specific parent channel configured it sounds a good idea to use it.
6739c3d to
96c9d9b
Compare
Cool. I've just dropped the try/except as it's useless now. |
Contributing since a while... :)
|
/ocabot merge minor |
|
This PR looks fantastic, let's merge it! |
|
Congratulations, your PR was merged at 43cdb78. Thanks a lot for contributing to OCA. ❤️ |
Use case:
root.edi.gs1.delivery)
Before this change, the channel manager falls back on root channel,
and you get flooded w/ warning log entries like "unknown channel....".
However, if you have a specific parent channel configured
it sounds a good idea to use it.
NOTE: using
parent_fallbackflag is just an attempt to not break places where this feat is not desiderable.Also, I might fail to see why this behavior was not supported before: any remark is welcomed :)
@guewen can I have your insights please? 🙏