From 4c593e4251aa111e4e25978752956932de765524 Mon Sep 17 00:00:00 2001 From: Keith Ratcliffe Date: Wed, 14 Aug 2024 21:23:16 -0400 Subject: [PATCH] -Remove dupe maxConcurrentTasks from QLF.xml (#7) -Add maxConcurrentTasks defaults to addtl logics to fix tests --- src/main/resources/QueryLogicFactory.xml | 1 - .../resources/config/application-QueryStarterDefaults.yml | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/resources/QueryLogicFactory.xml b/src/main/resources/QueryLogicFactory.xml index b06120eb..fe94482f 100644 --- a/src/main/resources/QueryLogicFactory.xml +++ b/src/main/resources/QueryLogicFactory.xml @@ -54,7 +54,6 @@ - diff --git a/src/test/resources/config/application-QueryStarterDefaults.yml b/src/test/resources/config/application-QueryStarterDefaults.yml index 015e229d..59def783 100644 --- a/src/test/resources/config/application-QueryStarterDefaults.yml +++ b/src/test/resources/config/application-QueryStarterDefaults.yml @@ -326,6 +326,7 @@ datawave: queryThreads: 16 auditType: "NONE" logicDescription: "Retrieve graph edges matching the search term(s)" + maxConcurrentTasks: 10 querySyntaxParsers: "JEXL": "" "LIST": "" @@ -358,6 +359,7 @@ datawave: maxUniqueValues: 20000 auditType: "NONE" logicDescription: "Indexed Fields Only: Given FIELDNAME returns counts for each unique value. Given FIELDNAME:FIELDVALUE returns count for only that value." + maxConcurrentTasks: 10 ErrorFieldIndexCountQuery: checkpointable: false @@ -373,6 +375,7 @@ datawave: maxUniqueValues: 20000 auditType: "NONE" logicDescription: "FieldIndex count query (experimental)" + maxConcurrentTasks: 10 TermFrequencyQuery: tableName: ${warehouse.tables.shard.name} @@ -460,6 +463,7 @@ datawave: ivaratorMaxOpenFiles: ${warehouse.defaults.ivaratorMaxOpenFiles} ivaratorCacheScanPersistThreshold: 100000 ivaratorCacheScanTimeoutMinutes: ${warehouse.defaults.ivaratorCacheScanTimeoutMinutes} + maxConcurrentTasks: 10 querySyntaxParsers: JEXL: "" LUCENE: "LuceneToJexlQueryParser"