Skip to content

Comments

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

Open
RLeeOSI wants to merge 1 commit intoOCA:18.0from
ursais:18.0-imp-confdisablequeue
Open

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

Conversation

@RLeeOSI
Copy link
Contributor

@RLeeOSI RLeeOSI commented Jan 26, 2026

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
Contributor

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

@RLeeOSI
Copy link
Contributor Author

RLeeOSI commented Jan 26, 2026

Depends on #886

@RLeeOSI
Copy link
Contributor Author

RLeeOSI commented Jan 26, 2026

@sbidoul Second part of the split PR

@RLeeOSI RLeeOSI force-pushed the 18.0-imp-confdisablequeue branch from d31fc46 to 207fc96 Compare January 26, 2026 17:15
@RLeeOSI
Copy link
Contributor Author

RLeeOSI commented Jan 26, 2026

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
Member

sbidoul commented Feb 9, 2026

Can you rebase?

@RLeeOSI RLeeOSI force-pushed the 18.0-imp-confdisablequeue branch from 207fc96 to d90f600 Compare February 18, 2026 18:04
@RLeeOSI
Copy link
Contributor Author

RLeeOSI commented Feb 18, 2026

Rebased

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants