Skip to content

PortManager::find_free_port is updated #178

New issue

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

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

Already on GitHub? # 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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant