This commit is contained in:
Miek Gieben 2012-08-08 13:36:37 +02:00
parent 53b2034c77
commit 155be1a09a
1 changed files with 0 additions and 2 deletions

View File

@ -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()
}
}()