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

handle ports race condition by returning 3000 #41

Merged
merged 1 commit into from
Mar 26, 2019

Conversation

pmuellr
Copy link
Member

@pmuellr pmuellr commented Mar 26, 2019

fixes #40

This is a very simple to fix to the problem with ports where it
will occaisonally throw an error:

The fix is to catch the error and use port 3000. Not great, but should
handle some cases where this was a problem.

An alternate fix to try would be to try fetching the port again, probably
in a loop (with some limit), in hopes of getting a value from ports.

fixes #40

This is a very simple to fix to the problem with ports where it
will occaisonally throw an error:

- hoodiehq-archive/node-ports#4

The fix is to catch the error and use port 3000.  Not great, but should
handle some cases where this was a problem.

An alternate fix to try would be to try fetching the port again, probably
in a loop (with some limit), in hopes of getting a value from ports.
@pmuellr pmuellr merged commit b07a59e into master Mar 26, 2019
@pmuellr pmuellr deleted the pmuellr/issue-40-ports branch March 26, 2019 13:50
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.

cfenv function calls are competing to handle the same temporary file
1 participant