From f762585ba1bd10666111dc3bd49342f07c768b24 Mon Sep 17 00:00:00 2001 From: Yhael S Date: Wed, 19 Apr 2023 19:09:30 -0500 Subject: [PATCH] updated odoo conf --- .env.example | 3 ++- odoo/odoorc.sh | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.env.example b/.env.example index 1ee763e..8af71d3 100644 --- a/.env.example +++ b/.env.example @@ -68,7 +68,8 @@ DATA_DIR=/var/lib/odoo # HTTP HTTP_INTERFACE=0.0.0.0 HTTP_PORT=8069 -LONGPOLLING_PORT=8072 +GEVENT_PORT=8072 +LONGPOLLING_PORT=0 HTTP_ENABLE=True PROXY_MODE=True X_SENDFILE=False diff --git a/odoo/odoorc.sh b/odoo/odoorc.sh index f0f47ed..d58e71b 100755 --- a/odoo/odoorc.sh +++ b/odoo/odoorc.sh @@ -33,7 +33,7 @@ defaults=( [HTTP_INTERFACE]=${HTTP_INTERFACE} [HTTP_PORT]=${HTTP_PORT} - [LONGPOLLING_PORT]=${LONGPOLLING_PORT} + [GEVENT_PORT]=${GEVENT_PORT} [HTTP_ENABLE]=${HTTP_ENABLE} [PROXY_MODE]=${PROXY_MODE} [X_SENDFILE]=${X_SENDFILE} @@ -161,8 +161,8 @@ http_interface={HTTP_INTERFACE} ; --http-port | -p | --xmlrpc-port http_port={HTTP_PORT} -; --longpolling_port -longpolling_port={LONGPOLLING_PORT} +; --gevent-port +gevent_port={GEVENT_PORT} ; --no-http | --no-xmlrpc http_enable={HTTP_ENABLE} @@ -171,7 +171,7 @@ http_enable={HTTP_ENABLE} proxy_mode={PROXY_MODE} ; --x-sendfile -x_sendfile ={X_SENDFILE} +x_sendfile={X_SENDFILE} ;---------------; ; Testing Group ;