lib
lib copied to clipboard
Expose jetty connection options through protojure API
One gRPC service I am connecting to can take several seconds to establish a connection. It is unstable at the default timeout settings and I do not see a way to set my own timeout value beyond the idle timeout.
I see this in the logs when the failure happens:
; DEBUG o.eclipse.jetty.io.ManagedSelector - Channel java.nio.channels.SocketChannel [connection-pending remote=<redacted host/ip:port>] timed out while connecting, closing it
; DEBUG o.eclipse.jetty.io.ClientConnector - Could not connect to <redacted host/ip:port>