Suggest using stale DNS cache when queries are slow

This commit is contained in:
Daniel
2023-04-24 13:13:24 +02:00
parent f6d90b008a
commit 89bad684cf
6 changed files with 132 additions and 2 deletions

View File

@@ -96,6 +96,8 @@ func start() error {
return err
}
module.NewTask("suggest using stale cache", suggestUsingStaleCacheTask).Repeat(2 * time.Minute)
module.StartServiceWorker(
"mdns handler",
5*time.Second,