Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix agent connection #1678

Merged
merged 21 commits into from
Dec 18, 2024
Merged

Fix agent connection #1678

merged 21 commits into from
Dec 18, 2024

Conversation

EddeCCC
Copy link
Member

@EddeCCC EddeCCC commented Dec 11, 2024

To prevent permanent agent disconnects, we implement:

  • add connection-request timeout to config.http
  • recreate HTTP client only if config.http settings have changed
  • increase default thread-pool
  • add more timeout configurations to agent-commands
  • add TTL to config.http & agent-commands
  • add direct timeout for HTTP polling thread via resilience4j-timelimiter

This change is Reviewable

This comment was marked as outdated.

@EddeCCC EddeCCC merged commit 4135aa1 into master Dec 18, 2024
11 checks passed
@EddeCCC EddeCCC deleted the fix-agent-connect branch December 19, 2024 10:16
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant