minder
minder copied to clipboard
bug: package vulnerability interface should reuse `http.Client`
At the moment the package vulnerability interface implementation (OSV and soon-to-be-added Pi) instantiate a http.Client on every call. This is wasteful, we should reuse a client to improve performance. We already do this via a simple map for the package database, we should do the same for the vulnerability interface, too.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
We should measure whether this is actually a problem in practice.
This hasn't been hurting us in practice.