protojure / lib

A collection of libraries to support Protojure applications at runtime
https://protojure.readthedocs.io
Apache License 2.0
64 stars 14 forks source link

Expose jetty connection options through protojure API #166

Open positron opened 2 months ago

positron commented 2 months ago

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>