Skip to content

Commit

Permalink
limit parallelism to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
benmoriceau committed Oct 2, 2023
1 parent 5ecb097 commit 0fb85bf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public FlushWorkers(final BufferDequeue bufferDequeue,
flusher = flushFunction;
debugLoop = Executors.newSingleThreadScheduledExecutor();
supervisorThread = Executors.newScheduledThreadPool(1);
workerPool = Executors.newFixedThreadPool(2);
workerPool = Executors.newFixedThreadPool(1);
isClosing = new AtomicBoolean(false);
runningFlushWorkers = new RunningFlushWorkers();
detectStreamToFlush = new DetectStreamToFlush(bufferDequeue, runningFlushWorkers, isClosing, flusher);
Expand Down

0 comments on commit 0fb85bf

Please sign in to comment.