[IMP] runbot: skip an additional port for chrome

In a near future, Odoo will use Chrome Headless instead of phantomjs.
Chrome needs a port to listen to and it was decided that it will be
http_port + 2.
With this commit, we ensure that this port is not used by another build.

Closes #30
This commit is contained in:
Christophe Monniez 2018-08-14 13:57:31 +02:00 committed by GitHub
parent b98b8dedd9
commit cfba7da06d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -377,7 +377,7 @@ class runbot_build(models.Model):
# find next free port
while port in ports:
port += 2
port += 3
return port
def _logger(self, *l):