Skip to content

Conversation

@Jozott00
Copy link
Collaborator

@Jozott00 Jozott00 commented Nov 5, 2025

Subsystem
gRPC

Problem Description
To reduce latency because of required reconnections to the server, the client sometimes wants to keep a connection open.

Solution
This can be done by setting the keepalive configuration option on the gRPC ClientConfiguration.

GrpcClient("localhost", 50051) {
    keepAlive {
         time = 10.seconds
         timeout = 20.seconds
         withoutCalls = false
    }
}

@Jozott00 Jozott00 self-assigned this Nov 5, 2025
@Jozott00 Jozott00 added the feature New feature or request label Nov 5, 2025
@Jozott00 Jozott00 changed the base branch from main to grpc-common November 5, 2025 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants