Skip to content

Conversation

@bitsf
Copy link
Contributor

@bitsf bitsf commented Sep 25, 2020

fix #13098
add a thread pool size for tags list, in case it takes up too much resources

Signed-off-by: Ziming Zhang <zziming@vmware.com>
@bitsf bitsf force-pushed the limit_pool_tag_list branch from 48603b3 to 093c1b4 Compare September 25, 2020 11:48
@coveralls
Copy link

Pull Request Test Coverage Report for Build 19193

  • 5 of 5 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 65.748%

Totals Coverage Status
Change from base Build 19189: 0.02%
Covered Lines: 24722
Relevant Lines: 37601

💛 - Coveralls

@reasonerjt
Copy link
Contributor

Could you also check the setting on redis to understand the limit? it may be a bottleneck for pulling images concurrently.

Copy link
Contributor

@steven-zou steven-zou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

tag,
config.WithNotary(),
signatures,
limit,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a minor suggestion, is it better to get the true from limit before starting a goroutine? In this way only 100 goroutines will be created

@bitsf bitsf merged commit a01a0c1 into goharbor:release-1.10.0 Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants