KahaDBStore: Fix typo in comment and remove duplicate semicolon

This commit is contained in:
PascalSchumacher 2024-06-24 19:39:58 +02:00
parent 645e2b084a
commit 3b450d9778
1 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ public class KahaDBStore extends MessageDatabase implements PersistenceAdapter,
PROPERTY_CANCELED_TASK_MOD_METRIC, "0"), 10);
public static final String PROPERTY_ASYNC_EXECUTOR_MAX_THREADS = "org.apache.activemq.store.kahadb.ASYNC_EXECUTOR_MAX_THREADS";
private static final int asyncExecutorMaxThreads = Integer.parseInt(System.getProperty(
PROPERTY_ASYNC_EXECUTOR_MAX_THREADS, "1"), 10);;
PROPERTY_ASYNC_EXECUTOR_MAX_THREADS, "1"), 10);
protected ExecutorService queueExecutor;
protected ExecutorService topicExecutor;
@ -115,7 +115,7 @@ public class KahaDBStore extends MessageDatabase implements PersistenceAdapter,
Semaphore globalTopicSemaphore;
private boolean concurrentStoreAndDispatchQueues = true;
// when true, message order may be compromised when cache is exhausted if store is out
// or order w.r.t cache
// of order w.r.t cache
private boolean concurrentStoreAndDispatchTopics = false;
private int maxAsyncJobs = MAX_ASYNC_JOBS;
private final KahaDBTransactionStore transactionStore;