Change batch size

This commit is contained in:
Xiaoguang Sun 2022-01-16 22:13:40 +08:00
parent 680e63a8ea
commit c375c9af90
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ public class WriteQueue {
};
// Dequeue in chunks, so we don't have to acquire the queue's log too often.
@VisibleForTesting static final int DEQUE_CHUNK_SIZE = 128;
@VisibleForTesting static final int DEQUE_CHUNK_SIZE = 2;
/** {@link Runnable} used to schedule work onto the tail of the event loop. */
private final Runnable later =