goharbor / harbor

An open source trusted cloud native registry project that stores, signs, and scans content.
https://goharbor.io
Apache License 2.0
24.12k stars 4.76k forks source link

Support configure number of workers for scheduled scan all #19783

Open xoanmi opened 10 months ago

xoanmi commented 10 months ago

Is your feature request related to a problem? Please describe. We would like to configure the desired number of workers for the scheduled vulnerability scan so we don't block other processes during the scanning.

Describe the solution you'd like Have a parameter to define the number of workers to be used during the vulnerability scan.

Additional context On large scenarios with hundreds of thousands of images, the vulnerability scan could take so long blocking all the available workers and potentially impacting the service's overall performance.

MinerYang commented 10 months ago

Sorry it is not supported for now, we will keep investigate.