Skip to content
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

fix: improve portfinder usage #9366

Merged
merged 1 commit into from
Aug 31, 2022
Merged

Conversation

OEvgeny
Copy link
Collaborator

@OEvgeny OEvgeny commented Aug 30, 2022

Description

  • Ensure we use the latest portfinder version available
  • Adjust default start port for every portfinder call, so if two calls happen simultaneously, they don't try to acquire the same port
  • Add logging for portfinder errors and port used before listening
  • If portfinder fails, try using preferred port, letting listen to fail and provide more sensible error

#minor

- Ensure we use the latest `portfinder` version available
- Adjust default start port for every portfinder call, so if two calls happen simultaneously, they don't try to acquire the same port
- Add logging for portfinder errors and port used before listening
- If portfinder fails, try using preferred port, letting listen to fail and provide more sensible error
@coveralls
Copy link

coveralls commented Aug 30, 2022

Coverage Status

Coverage decreased (-0.001%) to 54.604% when pulling 0001599 on OEvgeny:fix/portfinder into 771e318 on microsoft:main.

@cwhitten cwhitten merged commit ff07425 into microsoft:main Aug 31, 2022
@OEvgeny OEvgeny deleted the fix/portfinder branch September 1, 2022 20:29
@cwhitten cwhitten mentioned this pull request Aug 15, 2023
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