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

Lowest TTL #1063

Open
andreguilhon opened this issue Apr 12, 2022 · 0 comments
Open

Lowest TTL #1063

andreguilhon opened this issue Apr 12, 2022 · 0 comments

Comments

@andreguilhon
Copy link

I'm trying to use zeroconf service discovery to register and discover some python services I have. In my POCs, as long as I unregister the services, it gets recognized again whenever I start it up. My main problem and concern right now are that sometimes my devices loses power supply being uncleanly shutdown and thus don't unregister the services in it.
So that leads me to a question: How do I avoid having those stuck services on my service discovery? Is there some way to clear the entries that are not working anymore, so that when a new service is registered with the same info, I get notified?
For example, I could ping my service, and if it didn't respond I would remove it from zeroconf "database". Is there a method for that? Couldn't find one!

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

No branches or pull requests

1 participant