Closed
Description
The source says this action respects both CODEQL_RAM and CODEQL_THREADS
this is true for CODEQL_RAM
codeql-action/lib/init-action.js
Line 320 in 5eb3ed6
but not true for CODEQL_THREADS
codeql-action/lib/init-action.js
Line 322 in 5eb3ed6
Is this an oversight or is there a good reason for this?
My use case is I'm running this on a big 48 core kubernetes but the codeql runner pod is only allowed to use 16 cores. The autodetection is not factoring in the pod limits, it's looking at the node's available resources. I want to hint to codeql that it only has 16 threads available via the CODEQL_THREADS env var.
Metadata
Metadata
Assignees
Labels
No labels