Skip to content

PortManager::find_free_port is updated #178

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

dmitry-lipetsk
Copy link
Collaborator

  • We will use exclude_ports only when it is not none (creation of empty exclude_ports is removed)
  • Asserts are added
  • Do not convert exclude_ports into "set"
We will use exclude_ports only when it is not none.

Creation of empty exclude_ports is removed.
Asserts are added:
 - ports must be the "set"
 - exclude_ports must be iterable

Do not convert exclude_ports into "set" [optimization?]
@dmitry-lipetsk dmitry-lipetsk merged commit 45f7976 into postgrespro:master Jan 31, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant