mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[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:
parent
b98b8dedd9
commit
cfba7da06d
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user