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

Return as soon as we have a port for the current hostname #18

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

RealOrangeOne
Copy link
Contributor

@RealOrangeOne RealOrangeOne commented Nov 28, 2019

Rather than once all are enumerated. Enumerating processes is pretty fast anyway, but the faster we can make it the better!

(Has a bit of an impact on #17, as this blocks all requests until it's finished)

This should be tested on macOS, as it might do strange things there (hence the base except). Works fine for me!

I've also added support for specifying multiple hostnames, a niche but potentially really useful change.

@RealOrangeOne RealOrangeOne requested a review from j4mie January 28, 2020 14:31
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.

1 participant