Closed pettermahlen closed 8 years ago
@pinux-studio, what do you think? Would this work?
I don't know what magic built in to com.google.common.cache.Cache. It looks like the cache object will invalidate the value after predefined amount of time. If my understanding is correct, that is what we need. Also we set the expiration time to 2hr right?
Guava caches are pretty magical indeed - see https://github.com/google/guava/wiki/CachesExplained for more info. The default is set to 2 hours in the DnsSrvResolvers class.
:+1:
any chance we can merge this today. I have closed mine already. also what is the release schedule of this project? I want to update hermes to using the new version.
This is an alternative to #18.