Skip to content

Conversation

@ololobus
Copy link
Contributor

No description provided.

Code cleanup after merge of PGPRO-3253.
Also make free port choosing routine work on BSD-like systems (e.g.
macOS).
@ololobus ololobus requested a review from arssher April 15, 2021 11:07
Cluster.pm Outdated

# advance $port, wrapping correctly around range end
$port = 26000 if ++$port == 27000;
$port = 26000 if ++$port >= 27000;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

== was actually intentional here, allowing run.pl to force its fixed 65432+ range

@arssher
Copy link
Contributor

arssher commented Apr 16, 2021

For the record, this is from PGPRO-4965.

@arssher arssher merged commit 029970c into master Apr 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants