From a1c4413563f0c0e2acca45619650566f259dc258 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Thu, 3 Oct 2024 11:54:39 +0100 Subject: [PATCH] KE2: Clarify a 2-stage TODO comment --- java/kotlin-extractor2/src/main/kotlin/KotlinExtractor.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/kotlin-extractor2/src/main/kotlin/KotlinExtractor.kt b/java/kotlin-extractor2/src/main/kotlin/KotlinExtractor.kt index eb64cf5f310..202d555b0a4 100644 --- a/java/kotlin-extractor2/src/main/kotlin/KotlinExtractor.kt +++ b/java/kotlin-extractor2/src/main/kotlin/KotlinExtractor.kt @@ -221,7 +221,7 @@ fun doAnalysis( analyze(sourceModule) { val maxThreads = 1 // TODO: Default to 8 temporarily to ensure concurrency, - // and $CODEQL_THREADS or Runtime.getRuntime().availableProcessors() later + // TODO: Later, default to $CODEQL_THREADS or Runtime.getRuntime().availableProcessors() Executors.newFixedThreadPool(maxThreads).asCoroutineDispatcher().use { dispatcher -> runBlocking {