Skip to content

Conversation

@functional-tim
Copy link

I added the possibility to give a custom TTL for register per service.

And I added some fixes from clippy to remove unneeded warnings for certain imports and usage.

@willstott101
Copy link
Contributor

This makes perfect sense, thanks. I'd love to see a doc comment for this function explaining DEFAULT_TTL and the unit of the ttl: u32 arg etc before merging.

Out of curiosity what prompted this addition for you? Did you want a longer or shorter TTL? Perhaps working around #27 ?

willstott101 added a commit that referenced this pull request Aug 24, 2025
…with_ttl

Feature: Responder.register_with_ttl (supersedes: #59)
@willstott101
Copy link
Contributor

Merged in #64 thanks!

@willstott101
Copy link
Contributor

Released in v0.9.2

@functional-tim
Copy link
Author

Sorry, I had a lot of work. To answer the question you had: I needed a shorter ttl for my project for testing purposes.

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.

2 participants