[IMP] Update odoo.conf.example!

enterprise-opentkr-16.0
Oliver Yuan 2023-11-08 11:49:29 +08:00
parent b95fcf4b10
commit 34865b88bb
1 changed files with 11 additions and 7 deletions

View File

@ -1,12 +1,12 @@
[options] [options]
addons_path = /mnt/extra-addons addons_path = addons, odoo/addons
data_dir = /var/lib/odoo ; data_dir = /var/lib/odoo
; admin_passwd = admin ; admin_passwd = admin
; csv_internal_sep = , ; csv_internal_sep = ,
; db_maxconn = 64 db_maxconn = 2048
; db_name = False ; db_name = False
; db_template = template1 ; db_template = template1
; dbfilter = .* dbfilter = ^%d$
; debug_mode = False ; debug_mode = False
; email_from = False ; email_from = False
; limit_memory_hard = 2684354560 ; limit_memory_hard = 2684354560
@ -21,7 +21,7 @@ limit_time_real = 7200
; logfile = None ; logfile = None
; longpolling_port = 8072 ; longpolling_port = 8072
gevent-port = 8072 gevent-port = 8072
; max_cron_threads = 2 max_cron_threads = 2
; osv_memory_age_limit = 1.0 ; osv_memory_age_limit = 1.0
; osv_memory_count_limit = False ; osv_memory_count_limit = False
proxy_mode = True proxy_mode = True
@ -30,10 +30,14 @@ proxy_mode = True
; smtp_server = localhost ; smtp_server = localhost
; smtp_ssl = False ; smtp_ssl = False
; smtp_user = False ; smtp_user = False
workers = 4 workers = 8
; xmlrpc = True ; xmlrpc = True
; xmlrpc_interface = ; xmlrpc_interface =
xmlrpc_port = 8069 xmlrpc_port = 8069
; xmlrpcs = True ; xmlrpcs = True
; xmlrpcs_interface = ; xmlrpcs_interface =
; xmlrpcs_port = 8071 ; xmlrpcs_port = 8071
server_wide_modules = web,queue_job
[queue_job]
channels = root:2