Changed logic to check all the ports in between current port and next port, calculated by BASE_PORT_SPACING.
So if BASE_PORT_START is 12000 and BASE_PORT_SPACING is 3, it will check ports 12000, 12001, and 12002. If any of those ports are not available, it will check 12003 through 12005, and so on.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
cahrens seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it.
Changed logic to check all the ports in between current port and next port, calculated by BASE_PORT_SPACING.
So if BASE_PORT_START is 12000 and BASE_PORT_SPACING is 3, it will check ports 12000, 12001, and 12002. If any of those ports are not available, it will check 12003 through 12005, and so on.