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

Improvements to Health Probe Server (CORE-69) #19

Merged
merged 2 commits into from
Jul 10, 2024
Merged

Improvements to Health Probe Server (CORE-69) #19

merged 2 commits into from
Jul 10, 2024

Conversation

rvesse
Copy link
Contributor

@rvesse rvesse commented Jul 10, 2024

  • Runs on a background thread and configures the Grizzly thread pool to a small size to improve responsiveness and reduce resource usage
  • Now listens on 0.0.0.0 so more reliably usable in containerised runtimes
  • Various background threads now try to set their Thread Name to aid debugging

Related Issues

  • Discovered while integration testing CORE-69 work with SC-Search

@rvesse rvesse self-assigned this Jul 10, 2024
- Runs on a background thread and configures the Grizzly thread pool to
  a small size to improve responsiveness and reduce resource usage
- Now listens on 0.0.0.0 so more reliably usable in containerised
  runtimes
- ServerBuilder now supports configuring the maximum thread pool size
- Various background threads now make an effort to set their Thread Name
  to something meaningful to aid debugging
TelicentPaul
TelicentPaul previously approved these changes Jul 10, 2024
Copy link
Contributor

@TelicentPaul TelicentPaul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

Move an unnecessary wait in the HealthProbeServer implementation into
its test cases instead.

Cleans up unused imports across various test classes
@rvesse
Copy link
Contributor Author

rvesse commented Jul 10, 2024

@TelicentPaul Addressed your comments so needs a fresh review

@rvesse rvesse requested a review from TelicentPaul July 10, 2024 13:48
@rvesse rvesse merged commit d86b55f into main Jul 10, 2024
8 checks passed
@rvesse rvesse deleted the CORE-69 branch August 15, 2024 08:01
# 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.

2 participants