Skip to content

Instantly share code, notes, and snippets.

@repodevs
Last active October 29, 2022 10:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save repodevs/59130a35dd7906d5c339eeae4f8bb905 to your computer and use it in GitHub Desktop.
Save repodevs/59130a35dd7906d5c339eeae4f8bb905 to your computer and use it in GitHub Desktop.
Odoo OCA queue_job to comply with pgBouncer

EDITED

Use bellow config in your odoo.conf to make it works by bypassing pgbouncer for queue_job

[options]
addons_path = /mnt/extra-addons
data_dir = /var/lib/odoo
db_host=pgbouncer
db_name = odoo
server_wide_modules = base,web,queue_job

[queue_job]
channels = root:2
jobrunner_db_host=db_host_postgres
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment