set GOMAXPROCS to an insane value

This commit is contained in:
Miek Gieben 2011-01-19 10:40:26 +01:00
parent 5bce6b6dcb
commit a93456ae33
2 changed files with 6 additions and 1 deletions

4
TODO
View File

@ -3,7 +3,9 @@ Todo:
* Tsig testing
* Private key file parsing use io.Reader (or the like)
* Parsing from /etc/resolv.conf - clean up the code, use normal packages
* IP6 testing
* IP6 testing - in resolver and also in responder code
extend Responder interface with ipv6?
* Text impl of nameserver, with a small zone, 1 KSK and online signing
Longer term:
* Parsing from strings, going with goyacc and own lexer

View File

@ -21,6 +21,7 @@ import (
"strconv"
"dns"
"dns/responder"
"runtime"
"os/signal"
)
@ -93,6 +94,8 @@ func (s *server) ResponderTCP(c *net.TCPConn, in []byte) {
}
func main() {
runtime.GOMAXPROCS(10) // Be bold
s := new(responder.Server)
s.Address = "127.0.0.1"
s.Port = "8053"