Skip to content

Fine tuning

HTTP Timeouts

Insight Applications communicate over http. The number of connections and timeout values have reasonable defaults. If the need arisies, values can be adjusted by providing Environment variables.

  • HTTPCLIENT_CONNECTION_REQUEST_TIMEOUT: the timeout in milliseconds used when requesting a connection from the connection manager
  • HTTPCLIENT_CONNECTION_TIMEOUT: the timeout in milliseconds until a connection is established
  • HTTPCLIENT_SOCKET_TIMEOUT: the socket timeout (SO_TIMEOUT) in milliseconds
  • HTTPCLIENT_CONNECTIONS: maxmum number of connections (parallel outgoing requests)