anchore / anchore-engine

A service that analyzes docker images and scans for vulnerabilities
Apache License 2.0
1.59k stars 272 forks source link

use threadpoolexecutor for image deletion #1273

Closed Vijay-P closed 3 years ago

Vijay-P commented 3 years ago

Try to help speed up bulk image deletion. By using a threadpool executor. First pass. It appears to work, ran it a couple of times.

What this PR does / why we need it:

Which issue this PR fixes (optional, in fixes #<issue number>)(, fixes #<issue_number, ...) format, will close the issue when PR is merged: fixes #:

Special notes:

Vijay-P commented 3 years ago

I want to add some comments and docstrings and such, but this can be reviewed