Fork me on GitHub
#pedestal
<
2023-06-30
>
isak16:06:21

In a new project I'm managing pedestal (jetty) via integrant, and when I reset the system, I get a java.net.BindException (port is in use) unless I add (Thread/sleep 1000) after calling http/stop. Is there a built in way to stop the server, and wait for it to be stopped?

rolt09:07:18

i'm using the same setup and never had this problem. Do you reproduce the issue with a simple pedestal stop/start ?

1
🙏 1
isak15:07:28

Hmm now I can't reproduce it at all. I must have been doing something incorrectly before.