Skip to content

Improve max connection age calculation for gRPC connections

  • Improve max connection age calculation for gRPC connections

This change set improves the maximum connection age calculation to align it better with what go-grpc internally does. We also remove the per-RPC jitter.

The change is behind a feature flag called FF_GITLAB_AGENT_IMPROVED_MAX_CONN_AGE, that can be enabled via environment variable.

This should resolve GOAWAY errors seen by gRPC clients for connections that have been closed due to the connection age.

Refs #692

Merge request reports

Loading