Skip to content

Commit

Permalink
添加并发缓冲时间
Browse files Browse the repository at this point in the history
  • Loading branch information
weiliang-ms committed Aug 16, 2023
1 parent 0be9f03 commit 5122acb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/export/harbor/harbor_image_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ func (executor *Executor) TagsWithinProject(projectName string, repos []string)
for _, r := range repos {
wg.Add(1)
// 添加缓冲时间
time.Sleep(time.Millisecond * 500)
time.Sleep(time.Millisecond * 50)
go func(repoName string) {
tags, err := executor.generateRepoTagsSlice(projectName, repoName)
ch <- result{tags: tags, err: err}
Expand Down

0 comments on commit 5122acb

Please sign in to comment.