Skip to content

Commit 26c8204

Browse files
committed
feat: improve performance and responsiveness
1 parent 3c67694 commit 26c8204

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

stackgres-k8s/src/operator/src/main/java/io/stackgres/operator/conciliation/ReconciliatorWorkerThreadPool.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ public String toString() {
169169

170170
static class ReconciliatorThreadPoolExecutor {
171171

172-
final int threads;
173172
final ThreadPoolExecutor threadPoolExecutor;
174173
final Map<ReconciliationRunnable, Long> executingReconciliations = Collections.synchronizedMap(new HashMap<>());
175174
final Set<ReconciliationRunnable> toExecuteReconciliations = Collections.synchronizedSet(new HashSet<>());
@@ -178,7 +177,6 @@ public ReconciliatorThreadPoolExecutor(
178177
int threads,
179178
BlockingQueue<Runnable> workQueue,
180179
ThreadFactory threadFactory) {
181-
this.threads = threads;
182180
this.threadPoolExecutor = new ThreadPoolExecutor(
183181
threads,
184182
threads,

0 commit comments

Comments
 (0)