diff options
author | Alex Auvolat <alex@adnab.me> | 2023-09-05 15:07:29 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-09-06 16:35:28 +0200 |
commit | fd00a47ddc4acfe62428064847176a5938ed64a9 (patch) | |
tree | 84dd57c49d1077c74e51c23e784cb78b44e5b27e /src/table | |
parent | 1b8c265c14b2f788693aed6c15f65684c72d2d1c (diff) | |
download | garage-fd00a47ddc4acfe62428064847176a5938ed64a9.tar.gz garage-fd00a47ddc4acfe62428064847176a5938ed64a9.zip |
table queue: increase batch size
Diffstat (limited to 'src/table')
-rw-r--r-- | src/table/queue.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table/queue.rs b/src/table/queue.rs index 0857209b..096ac8b4 100644 --- a/src/table/queue.rs +++ b/src/table/queue.rs @@ -12,7 +12,7 @@ use crate::replication::*; use crate::schema::*; use crate::table::*; -const BATCH_SIZE: usize = 100; +const BATCH_SIZE: usize = 1024; pub(crate) struct InsertQueueWorker<F, R>(pub(crate) Arc<Table<F, R>>) where |