Skip to content

Conversation

yjoer
Copy link

@yjoer yjoer commented Feb 27, 2024

Inspired by #179, I added an option to enable health checks to terminate the program if a ping is not received within a specified period. In container orchestration systems like Docker/Kubernetes, a container can be restarted once the process within is terminated. For this reason, the changes do not include the capability to restart the connection while leaving the process intact. Apart from the scenario mentioned in #179, this seems needed for networks behind a CGNAT where the ISP might assign a different IP address to a user anytime.

Graysonbarton

This comment was marked as duplicate.

@Uzlopak
Copy link
Collaborator

Uzlopak commented May 28, 2025

@wolfy1339

why dont we call it timeout? or pingTimeout?

@wolfy1339
Copy link
Contributor

sounds good to me, i only updated it to fix the merge conflicts, and some slight updates to use private fields

Copy link

@Graysonbarton Graysonbarton left a comment

Choose a reason for hiding this comment

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

Signed-off-by: Grayson Barton [email protected]

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.

5 participants