Skip to content

Commit

Permalink
use method to condifure not static variable
Browse files Browse the repository at this point in the history
Signed-off-by: Attila Mészáros <csviri@gmail.com>
  • Loading branch information
csviri committed Mar 7, 2024
1 parent 4ccd669 commit 1e9aaa2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,11 @@ default Metrics getMetrics() {
}

default ExecutorService getExecutorService() {
return Executors.newFixedThreadPool(DEFAULT_RECONCILIATION_THREADS_NUMBER);
return Executors.newFixedThreadPool(concurrentReconciliationThreads());
}

default ExecutorService getWorkflowExecutorService() {
return Executors.newFixedThreadPool(DEFAULT_WORKFLOW_EXECUTOR_THREAD_NUMBER);
return Executors.newFixedThreadPool(concurrentWorkflowExecutorThreads());
}

default boolean closeClientOnStop() {
Expand Down

0 comments on commit 1e9aaa2

Please sign in to comment.