more more routines
This commit is contained in:
parent
98f88be382
commit
c4bf438e31
|
@ -157,7 +157,7 @@ func main() {
|
|||
defer pprof.StopCPUProfile()
|
||||
}
|
||||
|
||||
dns.HandleFunc(".", handleReflect)
|
||||
dns.HandleFunc("miek.nl.", handleReflect)
|
||||
dns.HandleFunc("authors.bind.", dns.HandleAuthors)
|
||||
dns.HandleFunc("authors.server.", dns.HandleAuthors)
|
||||
dns.HandleFunc("version.bind.", dns.HandleVersion)
|
||||
|
|
4
zone.go
4
zone.go
|
@ -326,8 +326,8 @@ func (z *Zone) Sign(keys map[*RR_DNSKEY]PrivateKey, config *SignatureConfig) err
|
|||
|
||||
// Start the signer goroutines
|
||||
wg := new(sync.WaitGroup)
|
||||
wg.Add(config.SignerRoutines *10 + 1)
|
||||
for i := 0; i < config.SignerRoutines*10; i++ {
|
||||
wg.Add(config.SignerRoutines * 5)
|
||||
for i := 0; i < config.SignerRoutines * 5; i++ {
|
||||
go signerRoutine(wg, keys, keytags, config, radChan, errChan)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue