harbor/src/controller/scan
Chlins Zhang f21b1481bb
refactor: refactor the old goroutine execution sweep (#18361)
refactor: refactor the old goroutine execution sweep to global execution sweep job

1. Delete the old goroutine execution sweeper when create execution.(in the case of high concurrency can cause goroutine backlogs, affect the performance of core)
2. Introduce the new way to sweep executions, a global scheduled job will take the work.

Signed-off-by: chlins <chenyuzh@vmware.com>
2023-03-21 10:10:55 +08:00
..
base_controller.go refactor: refactor the old goroutine execution sweep (#18361) 2023-03-21 10:10:55 +08:00
base_controller_test.go Skip to update pull time and pull count for scanner robot account (#17807) 2023-02-20 15:09:21 +08:00
callback.go refactor: refactor the old goroutine execution sweep (#18361) 2023-03-21 10:10:55 +08:00
callback_test.go lint: sort imports (#17131) 2022-07-20 11:33:08 +08:00
checker.go lint: sort imports (#17131) 2022-07-20 11:33:08 +08:00
checker_test.go lint: sort imports (#17131) 2022-07-20 11:33:08 +08:00
controller.go Modified to check the expiration time of the allowlist when determining the vulnerability of an artifact (#18106) 2023-03-08 11:25:40 +08:00
options.go fix: supply the latest tag of artifact to scan request 2021-06-08 10:11:10 +00:00