From a0d0306dffa2a200400feb7cfcf16a3a08c81c83 Mon Sep 17 00:00:00 2001 From: Yusuf Date: Tue, 7 Nov 2017 18:49:27 +0530 Subject: [PATCH] [FIX] change longpolling port --- doc/reference/cmdline.rst | 2 +- doc/setup/deploy.rst | 2 +- flectra/tools/config.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/reference/cmdline.rst b/doc/reference/cmdline.rst index d35868a7..7a2bf086 100644 --- a/doc/reference/cmdline.rst +++ b/doc/reference/cmdline.rst @@ -197,7 +197,7 @@ built-in HTTP .. option:: --longpolling-port TCP port for long-polling connections in multiprocessing or gevent mode, - defaults to 8072. Not used in default (threaded) mode. + defaults to 7072. Not used in default (threaded) mode. logging ------- diff --git a/doc/setup/deploy.rst b/doc/setup/deploy.rst index 0d7303a7..018d224f 100644 --- a/doc/setup/deploy.rst +++ b/doc/setup/deploy.rst @@ -281,7 +281,7 @@ in ``/etc/nginx/sites-enabled/odoo.conf`` set: server 127.0.0.1:8069; } upstream odoochat { - server 127.0.0.1:8072; + server 127.0.0.1:7072; } # http -> https diff --git a/flectra/tools/config.py b/flectra/tools/config.py index e92f6ea1..5583a7da 100644 --- a/flectra/tools/config.py +++ b/flectra/tools/config.py @@ -130,7 +130,7 @@ class configmanager(object): "Keep empty to listen on all interfaces (0.0.0.0)") group.add_option("-p", "--http-port", dest="http_port", my_default=7073, help="Listen port for the main HTTP service", type="int", metavar="PORT") - group.add_option("--longpolling-port", dest="longpolling_port", my_default=8072, + group.add_option("--longpolling-port", dest="longpolling_port", my_default=7072, help="Listen port for the longpolling HTTP service", type="int", metavar="PORT") group.add_option("--no-http", dest="http_enable", action="store_false", my_default=True, help="Disable the HTTP and Longpolling services entirely")