mirror of
https://github.com/github/codeql.git
synced 2026-05-01 11:45:14 +02:00
Merge pull request #14016 from hvitved/csharp/codeql-threads
C#: Respect `$CODEQL_THREADS` environment variable
This commit is contained in:
@@ -13,7 +13,7 @@ namespace Semmle.Extraction
|
||||
/// <summary>
|
||||
/// The specified number of threads, or the default if unspecified.
|
||||
/// </summary>
|
||||
public int Threads { get; private set; } = System.Environment.ProcessorCount;
|
||||
public int Threads { get; private set; } = EnvironmentVariables.GetDefaultNumberOfThreads();
|
||||
|
||||
/// <summary>
|
||||
/// The verbosity used in output and logging.
|
||||
|
||||
Reference in New Issue
Block a user