summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeuin <[email protected]>2023-10-21 02:30:42 +0800
committerKeuin <[email protected]>2023-10-21 02:30:42 +0800
commit543816f082282deaff27597b30218b1722569e1d (patch)
tree45c4ec25ef04a5722c280d9aa9e282158e8092c5
parent6c0962d33e3c671b18d09da7770fe8df9c83c5b0 (diff)
increase queue size to 1M
-rw-r--r--src/main/java/com/keuin/blame/SubmitWorker.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/keuin/blame/SubmitWorker.java b/src/main/java/com/keuin/blame/SubmitWorker.java
index 78763a1..ddd6167 100644
--- a/src/main/java/com/keuin/blame/SubmitWorker.java
+++ b/src/main/java/com/keuin/blame/SubmitWorker.java
@@ -17,7 +17,7 @@ public class SubmitWorker {
public static final SubmitWorker INSTANCE = new SubmitWorker();
private final Logger logger = Logger.getLogger(SubmitWorker.class.getName());
- private final BlockingQueue<LogEntry> queue = new ArrayBlockingQueue<>(4096);
+ private final BlockingQueue<LogEntry> queue = new ArrayBlockingQueue<>(1048576);
private final Thread thread = new Thread(SubmitWorker.this::run);
private boolean run = true;