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

@RLeeGML RLeeGML commented Jan 26, 2026

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

RLeeGML commented Jan 26, 2026

Copy link
Copy Markdown
Contributor Author

Depends on #886

@RLeeGML

RLeeGML commented Jan 26, 2026

Copy link
Copy Markdown
Contributor Author

@sbidoul Second part of the split PR

@RLeeGML RLeeGML force-pushed the 18.0-imp-confdisablequeue branch from d31fc46 to 207fc96 Compare January 26, 2026 17:15
@RLeeGML

RLeeGML commented Jan 26, 2026

Copy link
Copy Markdown
Contributor Author

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

sbidoul commented Feb 9, 2026

Copy link
Copy Markdown
Member

Can you rebase?

@RLeeGML RLeeGML force-pushed the 18.0-imp-confdisablequeue branch from 207fc96 to d90f600 Compare February 18, 2026 18:04
@RLeeGML

RLeeGML commented Feb 18, 2026

Copy link
Copy Markdown
Contributor Author

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-actions github-actions Bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Jun 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale PR/Issue without recent activity, it'll be soon closed automatically.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants