You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't see how we could ever support this, but it seems OK since if you have the boot runtime going, you have nrepl... so you can either use nrepl, or use nrepl just to start the socket server.
That said, I can imagine ways we can support it but they seem pretty out there. For example, we could add code to pods that interprets 5555 as the port to start on as pods come up, and each Clojure is assigned the next available port starting at 5555. Or maybe we could support our own BOOT_? option that specifies a pod name and the port to run its socket server on.
Any other ideas? Maybe there's a non-wacky thing we could do.
I think the general solution to this problem is to allow users to pass along configuration on a per pod basis. In this context, the socket server port is just a particular case. That said, I have no idea how easy or hard it is to implement. If possible, it looks worth a try. The hacky ways are not worth it, I think. We can always tell users to start the socket server via its API, in code.
With the following env vars any boot invocation will fail due to multiple clojure runtimes trying to launch a socket repl on the same port.
Not sure if this can fixed with code, if not an addition to the docs might be a good idea.
The text was updated successfully, but these errors were encountered: