[FIX] change longpolling port

This commit is contained in:
Yusuf 2017-11-07 18:49:27 +05:30 committed by Siddharth Bhalgami
parent 689472ef2c
commit a0d0306dff
3 changed files with 3 additions and 3 deletions

View File

@ -197,7 +197,7 @@ built-in HTTP
.. option:: --longpolling-port <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
-------

View File

@ -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

View File

@ -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")