Browse Source

Don't call runtime.GC() after loading each zone

Ask Bjørn Hansen 12 years ago
parent
commit
e58cc09d47
1 changed files with 0 additions and 2 deletions
  1. 0 2
      zones.go

+ 0 - 2
zones.go

@@ -10,7 +10,6 @@ import (
 	"net"
 	"os"
 	"path"
-	"runtime"
 	"runtime/debug"
 	"sort"
 	"strconv"
@@ -73,7 +72,6 @@ func zonesReadDir(dirName string, zones Zones) error {
 			config.LastRead = file.ModTime()
 
 			addHandler(zones, zoneName, config)
-			runtime.GC()
 		}
 	}