Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

feat(pool): periodically check IP health (exists in vpc) #37

Closed
wants to merge 4 commits into from

Conversation

fioncat
Copy link
Member

@fioncat fioncat commented Jun 11, 2024

Check IP health in two conditions:

  • Every 10 mins, select an IP from the pool that has not been checked for the longest time for checking.
  • Check the cooldown IP before adding it to the pool.

The check method is to call VPC using the IP and the current node MAC address. If the IP exists, it is considered healthy.

fioncat added 3 commits June 11, 2024 15:30
Check IP health in two conditions:

- Every 10 mins, select an IP from the pool that has not been checked
  for the longest time for checking.
- Check the cooldown IP before adding it to the pool.

The check method is to call VPC using the IP and the current node MAC
address. If the IP exists, it is considered healthy.
@fioncat fioncat requested a review from aixiak June 11, 2024 07:45
@fioncat fioncat self-assigned this Jun 11, 2024
@fioncat fioncat added the enhancement New feature or request label Jun 11, 2024
@fioncat fioncat closed this Jun 12, 2024
@fioncat fioncat deleted the feat/check-health branch June 12, 2024 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant