1
0

feat: sleep one second for the first threads

This commit is contained in:
dump_stack() 2023-05-30 21:04:06 +00:00
parent 8f39b502a4
commit 75d740b22b
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

3
pew.go
View File

@ -867,8 +867,7 @@ func (cmd PewCmd) performCI(ka config.Artifact) (err error) {
}
swg.Add()
if threadCounter < cmd.Threads {
duration := time.Second * time.Duration(threadCounter)
time.Sleep(duration)
time.Sleep(time.Second)
threadCounter++
}
go cmd.testArtifact(&swg, ka, kernel)