tweaks
This commit is contained in:
parent
53b2034c77
commit
155be1a09a
|
@ -18,7 +18,6 @@ var (
|
|||
)
|
||||
|
||||
func serve(w dns.ResponseWriter, r *dns.Msg, c *Cache) {
|
||||
// Check for "special queries"
|
||||
switch {
|
||||
case r.IsNotify():
|
||||
if *flaglog {
|
||||
|
@ -71,7 +70,6 @@ func main() {
|
|||
for {
|
||||
// Every 10 sec run the cache cleaner
|
||||
time.Sleep(10 * 1e9)
|
||||
log.Printf("cache clean")
|
||||
cache.Evict()
|
||||
}
|
||||
}()
|
||||
|
|
Loading…
Reference in New Issue