Uh oh!
There was an error while loading. Please reload this page.
[15.0][IMP] queue_job: Configure default subchannel capacity. - #698
[15.0][IMP] queue_job: Configure default subchannel capacity.#698amh-mw wants to merge 1 commit into
Conversation
OCA-git-bot
commented
Oct 14, 2024
Hi @guewen, |
amh-mw
commented
Oct 14, 2024
My own use case is that I run multi-company odoo with an environment like ODOO_QUEUE_JOB_CHANNELS=root:8,single:1. The single channel is for problem children that tend to generate an excess of SerializationFailure if executed in parallel. I've recently determined that those SerializationFailure are company-specific, so a channel per company would improve parallelism. Per @sbidoul in OCA Discord
This setting allows me to limit the capacity of auto-created channels. |
50e748b to
ee6389bComparesbidoul
commented
Oct 18, 2024
Thanks for addressing this @amh-mw I would have a preference for configuring this in the parent channel, instead of globally. |
amh-mw
commented
Oct 22, 2024
Understood. I will unfortunately not have time to circle back around to that request until next year. Would it be possible to mark this issue |
@amh-mw Count on me to repoen it if the stale bot closes it. |
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
1783ea6 to
b60f638CompareThis adds a new `subcapacity` option to channels that allows the configuration of the default capacity for autocreated child channels. For example, environment `ODOO_QUEUE_JOB_CHANNELS=root:8:subcapacity=1` would set the capacity of an autocreated `root.sub` channel to 1.
b60f638 to
5f898daCompareamh-mw
commented
Mar 6, 2025
@sbidoul Version two ready for review. |
amh-mw
commented
May 7, 2025
Reopening against 18.0 #767 |
This adds a new
subcapacityoption to channels that allows theconfiguration of the default capacity for autocreated child channels.
For example, environment
ODOO_QUEUE_JOB_CHANNELS=root:8:subcapacity=1would set the capacity of an autocreated
root.subchannel to 1.