Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

PortUtil fix to check all ports

Compare
Choose a tag to compare
@chiahrens chiahrens released this 27 Apr 14:47
· 91 commits to master since this release
7bee201

Fixed Magellan.portUtil.acquirePort to check all ports between BASE_PORT_SPACING.

For example. If the BASE_PORT_START is 12000 and BASE_PORT_SPACING is 3, it will check ports 12000, 12001, and 12002. If all are free, it will return 12000. If any of those ports are not available, it will then check 12003, 12004, and 12005 and so on.