mirror of
https://github.com/genuinetools/reg.git
synced 2024-06-30 11:04:16 -04:00
longer
Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
parent
bcb7a8dccf
commit
cab68e390e
|
@ -234,7 +234,7 @@ func createStaticIndex(r *registry.Registry, staticDir, clairURI string) error {
|
||||||
go func(repo, tag string, i, j int) {
|
go func(repo, tag string, i, j int) {
|
||||||
defer wg.Done()
|
defer wg.Done()
|
||||||
|
|
||||||
throttle := time.Tick(time.Duration(time.Duration((i+1)*(j+1)) * time.Second))
|
throttle := time.Tick(time.Duration(time.Duration((i+1)*(j+1)*2) * time.Second))
|
||||||
<-throttle
|
<-throttle
|
||||||
|
|
||||||
logrus.Infof("creating vulns.txt for %s:%s", repo, tag)
|
logrus.Infof("creating vulns.txt for %s:%s", repo, tag)
|
||||||
|
|
Loading…
Reference in a new issue