From 34865b88bb7a671bbedc27e318c49382594117a1 Mon Sep 17 00:00:00 2001 From: Oliver Yuan Date: Wed, 8 Nov 2023 11:49:29 +0800 Subject: [PATCH] [IMP] Update odoo.conf.example! --- config/{odoo.conf => odoo.conf.example} | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) rename config/{odoo.conf => odoo.conf.example} (76%) diff --git a/config/odoo.conf b/config/odoo.conf.example similarity index 76% rename from config/odoo.conf rename to config/odoo.conf.example index 3946cb3..a420fe2 100644 --- a/config/odoo.conf +++ b/config/odoo.conf.example @@ -1,12 +1,12 @@ [options] -addons_path = /mnt/extra-addons -data_dir = /var/lib/odoo +addons_path = addons, odoo/addons +; data_dir = /var/lib/odoo ; admin_passwd = admin ; csv_internal_sep = , -; db_maxconn = 64 +db_maxconn = 2048 ; db_name = False ; db_template = template1 -; dbfilter = .* +dbfilter = ^%d$ ; debug_mode = False ; email_from = False ; limit_memory_hard = 2684354560 @@ -21,7 +21,7 @@ limit_time_real = 7200 ; logfile = None ; longpolling_port = 8072 gevent-port = 8072 -; max_cron_threads = 2 +max_cron_threads = 2 ; osv_memory_age_limit = 1.0 ; osv_memory_count_limit = False proxy_mode = True @@ -30,10 +30,14 @@ proxy_mode = True ; smtp_server = localhost ; smtp_ssl = False ; smtp_user = False -workers = 4 +workers = 8 ; xmlrpc = True ; xmlrpc_interface = xmlrpc_port = 8069 ; xmlrpcs = True ; xmlrpcs_interface = -; xmlrpcs_port = 8071 \ No newline at end of file +; xmlrpcs_port = 8071 +server_wide_modules = web,queue_job + +[queue_job] +channels = root:2 \ No newline at end of file