Skip to content

Commit

Permalink
Merge pull request #470 from moduon/queue_job
Browse files Browse the repository at this point in the history
fix(queue_job): out-of-the-box support in test environments
  • Loading branch information
pedrobaeza authored Dec 2, 2024
2 parents 74b46ab + 385aee3 commit 094f317
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test.yaml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ services:
WITHOUT_DEMO: "${DOODBA_WITHOUT_DEMO-all}"
SMTP_PORT: "1025"
SMTP_SERVER: smtplocal
# Just in case you use queue_job
ODOO_QUEUE_JOB_CHANNELS: "root:1"
restart: unless-stopped
{%- if domains_test %}
hostname: {{ macros.first_main_domain(domains_test)|tojson }}
Expand Down Expand Up @@ -48,7 +50,7 @@ services:
{%- endif %}
command:
- odoo
- --workers=2
- --workers=3
- --max-cron-threads=1

{% if postgres_version -%}
Expand Down

0 comments on commit 094f317

Please sign in to comment.