optimise sign
This commit is contained in:
parent
aa1e9db2ed
commit
43a0b88833
@ -140,12 +140,6 @@ func signFiles(path string) {
|
|||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
ch := make(chan bool)
|
|
||||||
go func() {
|
|
||||||
sign(ch, path+"*.deb")
|
|
||||||
}()
|
|
||||||
<-ch
|
|
||||||
|
|
||||||
signQueue := make(chan string, 10)
|
signQueue := make(chan string, 10)
|
||||||
var wg sync.WaitGroup
|
var wg sync.WaitGroup
|
||||||
for i := 0; i < 10; i++ {
|
for i := 0; i < 10; i++ {
|
||||||
|
Loading…
Reference in New Issue
Block a user