Skip to content

Commit

Permalink
[IMP] runbot: skip an additional port for chrome
Browse files Browse the repository at this point in the history
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
  • Loading branch information
d-fence authored Aug 14, 2018
1 parent b98b8de commit cfba7da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runbot/models/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ def _find_port(self):

# find next free port
while port in ports:
port += 2
port += 3
return port

def _logger(self, *l):
Expand Down

0 comments on commit cfba7da

Please sign in to comment.