fix: websocket fail to bind to address due to time_wait (#554)

This commit is contained in:
MarcoM authored and GitHub committed 2023-02-05 16:18:57 +03:00
1 parent 6962ff36f4
commit 687f214623
1 file changed
+1
@@ -28,6 +28,7 @@ public class WebsocketAPI extends WebSocketServer implements ProtocolAPIServer {
this.protocolAPI = protocolAPI;
this.protocolAPI.registerAPIServer(this);
setReuseAddr(true);
}
@Override