NUWCDIVNPT / stig-manager

An API and client for managing STIG assessments
Other
120 stars 28 forks source link

refactor: better joins in getCollectionLabels() #1366

Closed csmig closed 2 months ago

csmig commented 2 months ago

This PR rewrites the JOIN conditions for the query in getCollectionLabels() to improve performance by ~5x (in my setup).

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed for 'nuwcdivnpt_stig-manager-api'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud