feat: sleep one second for the first threads
This commit is contained in:
parent
8f39b502a4
commit
75d740b22b
3
pew.go
3
pew.go
@ -867,8 +867,7 @@ func (cmd PewCmd) performCI(ka config.Artifact) (err error) {
|
|||||||
}
|
}
|
||||||
swg.Add()
|
swg.Add()
|
||||||
if threadCounter < cmd.Threads {
|
if threadCounter < cmd.Threads {
|
||||||
duration := time.Second * time.Duration(threadCounter)
|
time.Sleep(time.Second)
|
||||||
time.Sleep(duration)
|
|
||||||
threadCounter++
|
threadCounter++
|
||||||
}
|
}
|
||||||
go cmd.testArtifact(&swg, ka, kernel)
|
go cmd.testArtifact(&swg, ka, kernel)
|
||||||
|
Loading…
Reference in New Issue
Block a user