Skip to content

[19.0][IMP] queue_job: add pause option on channels - #972

Merged
OCA-git-bot merged 1 commit into
OCA:19.0from
guewen:19.0-queue-job-pause
Oct 26, 2026
Merged

OCA-git-bot merged 1 commit into
OCA:19.0from
guewen:19.0-queue-job-pause

Conversation

@guewen

@guewen guewen commented Aug 27, 2026

Copy link
Copy Markdown
Member

Port of #960

Add a new "paused" option on channel configuration.
A paused channel is equivalent to a channel with no capacity:
it yields no job and also blocks all its subchannels.

It still needs a restart of the jobrunner, so it does not allow dynamic
pause/resume, but hot reload may be added later in OCA#765.

It still is an improvement over setting the capacity at 0, because it
keeps the capacity in the configuration (removing the option in the
config restores the initial capacity).
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hi @sbidoul,
some modules you are maintaining are being modified, check this out!

@guewen

guewen commented Oct 26, 2026

Copy link
Copy Markdown
Member Author

/ocabot merge minor

@OCA-git-bot

Copy link
Copy Markdown
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 19.0-ocabot-merge-pr-972-by-guewen-bump-minor, awaiting test results.

@OCA-git-bot
OCA-git-bot merged commit 90b238c into OCA:19.0 Oct 26, 2026
6 of 8 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at 37d9fc7. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants