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

sync-socket fallback blocked ports #7

Open
JacobFischer opened this issue Oct 29, 2017 · 0 comments
Open

sync-socket fallback blocked ports #7

JacobFischer opened this issue Oct 29, 2017 · 0 comments
Labels

Comments

@JacobFischer
Copy link
Member

If you are running >=2 js clients againsts against each other, and they all have to fallback to sync-socket, their worker threads will conflict on the same port, so only the first will initiailize.

To fix this we need to initialize the workerPort at a different number than the other clients. This may require figuring out if another process of the same name is running on the machine, or simply just adding a random number to the port and pray to avoid collisions.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant