buffered channel

This commit is contained in:
Miek Gieben 2012-09-13 10:28:01 +02:00
parent 65ee21355f
commit ddd31e3fb8
1 changed files with 1 additions and 1 deletions

View File

@ -323,7 +323,7 @@ func (z *Zone) Sign(keys map[*RR_DNSKEY]PrivateKey, config *SignatureConfig) err
}
errChan := make(chan error)
signChan := make(chan *signData)
signChan := make(chan *signData, config.SignerRoutines*2)
// Start the signer goroutines
wg := new(sync.WaitGroup)