diff options
author | Keuin <[email protected]> | 2023-10-21 02:30:42 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2023-10-21 02:30:42 +0800 |
commit | 543816f082282deaff27597b30218b1722569e1d (patch) | |
tree | 45c4ec25ef04a5722c280d9aa9e282158e8092c5 /src/main/java/com | |
parent | 6c0962d33e3c671b18d09da7770fe8df9c83c5b0 (diff) |
increase queue size to 1M
Diffstat (limited to 'src/main/java/com')
-rw-r--r-- | src/main/java/com/keuin/blame/SubmitWorker.java | 2 |
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; |