Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Conversation

@mdelillo
Copy link
Contributor

@mdelillo mdelillo commented Oct 3, 2016

  • The default TTL value of 3 seconds results in a poll interval for 1.5 seconds for consul healthchecks.
    with all the diego components behaving this way, the consul in PCF Dev gets overloaded and goes unresponsive.
    PCF Dev needs this value to be increased/configurable.

This became necessary when these services switch from using dns_health_check to the TTL method. When the dns_health_check does not succeed within the TTL, consul will still respond to DNS queries for that service. Using the new TTL method, consul will unregister the service from it's DNS registry if it fails to update it's healthcheck status within the TTL.

Signed-off-by: Anthony Emengo [email protected]
Signed-off-by: Mark DeLillo [email protected]

@cfdreddbot
Copy link

Hey mdelillo!

Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you and the commit authors have already signed the CLA.

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/131553215

The labels on this github issue will be updated when the story is started.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants