Skip to content

fix: add timeout to receive agent command heart beat#8050

Merged
SongZhen0704 merged 1 commit intomainfrom
agent-cmd-timeout
Sep 6, 2024
Merged

fix: add timeout to receive agent command heart beat#8050
SongZhen0704 merged 1 commit intomainfrom
agent-cmd-timeout

Conversation

@roryye
Copy link
Contributor

@roryye roryye commented Sep 4, 2024

This PR is for:

  • Server

Changes to fix the bug

  • This change adds a timeout mechanism for receiving agent command heartbeats. This improvement ensures that the system can close the connection in a timely manner when no heartbeat is received for an extended period, thereby enhancing system stability and resource utilization efficiency.
  • Handle stream errors in advance.

Affected branches

  • main
  • v6.5

@roryye roryye force-pushed the agent-cmd-timeout branch 5 times, most recently from baedb5f to 92c9f3d Compare September 5, 2024 07:04
@SongZhen0704 SongZhen0704 enabled auto-merge (rebase) September 6, 2024 03:21
@SongZhen0704 SongZhen0704 merged commit e33a6a0 into main Sep 6, 2024
@SongZhen0704 SongZhen0704 deleted the agent-cmd-timeout branch September 6, 2024 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants