Skip to content

feat: enable grpc keepalive with 10s interval and 5s timeout#103

Open
haorenfsa wants to merge 1 commit intomilvus-io:mainfrom
haorenfsa:feat/keepalive-10s-interval
Open

feat: enable grpc keepalive with 10s interval and 5s timeout#103
haorenfsa wants to merge 1 commit intomilvus-io:mainfrom
haorenfsa:feat/keepalive-10s-interval

Conversation

@haorenfsa
Copy link

Summary

  • Configure tonic Endpoint with HTTP/2 keepalive settings for faster dead connection detection
    • http2_keep_alive_interval: 10s (previously not set)
    • keep_alive_timeout: 5s (previously not set)
    • keep_alive_while_idle: true (previously not set)
  • Add integration test verifying client connects successfully with keepalive enabled

Test plan

  • Verify cargo check passes (compilation)
  • Verify client_keepalive integration test passes with a running Milvus instance

🤖 Generated with Claude Code

Configure tonic Endpoint with HTTP/2 keepalive settings:
- http2_keep_alive_interval: 10s
- keep_alive_timeout: 5s
- keep_alive_while_idle: true

This enables faster detection of dead connections.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: haorenfsa <haorenfsa@gmail.com>
@sre-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: haorenfsa
To complete the pull request process, please assign congqixia after the PR has been reviewed.
You can assign the PR to them by writing /assign @congqixia in a comment when ready.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mergify
Copy link

mergify bot commented Feb 12, 2026

@haorenfsa Please associate the related issue to the body of your Pull Request. (eg. “issue: #187”)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants