Skip to content

[18.0][IMP] Disable queue with conf file - #887

Open
RLeeGML wants to merge 1 commit into
OCA:18.0from
ursais:18.0-imp-confdisablequeue
Open

[18.0][IMP] Disable queue with conf file#887
RLeeGML wants to merge 1 commit into
OCA:18.0from
ursais:18.0-imp-confdisablequeue

Conversation

@RLeeGML

Copy link
Copy Markdown
Contributor

Adds a config param to disable the queue for testing purposes. In the [queue_job] section of your odoo conf file, include queue_job__no_delay=True to disable the job queue. This is particularly useful for odoo.sh and other environments where setting an env var is not convenient. Follows the same format as the env var QUEUE_JOB__NO_DELAY or the context key queue_job__no_delay .

@OCA-git-bot

Copy link
Copy Markdown
Contributor

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

@RLeeGML

Copy link
Copy Markdown
ContributorAuthor

Depends on #886

@RLeeGML

Copy link
Copy Markdown
ContributorAuthor

@sbidoul Second part of the split PR

@RLeeGML
RLeeGMLforce-pushed the 18.0-imp-confdisablequeue branch from d31fc46 to 207fc96CompareJanuary 26, 2026 17:15
@RLeeGML

Copy link
Copy Markdown
ContributorAuthor

codecov test failing as this change depends on conf file changes to take effect. I'm not aware of a way to test changes to conf files in unit tests

@sbidoul

Copy link
Copy Markdown
Member

Can you rebase?

@RLeeGML
RLeeGMLforce-pushed the 18.0-imp-confdisablequeue branch from 207fc96 to d90f600CompareFebruary 18, 2026 18:04
@RLeeGML

Copy link
Copy Markdown
ContributorAuthor

Rebased

@github-actions

Copy link
Copy Markdown

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.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actionsgithub-actionsBot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Jun 21, 2026
@RLeeGML
RLeeGMLforce-pushed the 18.0-imp-confdisablequeue branch from d90f600 to 0ded5b6CompareJuly 22, 2026 17:55
@RLeeGML

Copy link
Copy Markdown
ContributorAuthor

@sbidoul Please review after the rebase if you have a chance

@github-actionsgithub-actionsBot removed the stale PR/Issue without recent activity, it'll be soon closed automatically. label Jul 26, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:queue_jobModule queue_jobseries:18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@RLeeGML@OCA-git-bot@sbidoul