Skip to content

Commit c244409

Browse files
authored
feat(pool): Try different queue size (#4548)
1 parent 6a3481c commit c244409

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

relay-threading/src/pool.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ where
5959
S: ThreadSpawn,
6060
{
6161
let pool_name = builder.pool_name.unwrap_or(DEFAULT_POOL_NAME);
62-
let (tx, rx) = flume::bounded(builder.num_threads * 2);
62+
let (tx, rx) = flume::bounded(builder.num_threads * 10);
6363
let mut threads_metrics = Vec::with_capacity(builder.num_threads);
6464

6565
for thread_id in 0..builder.num_threads {

0 commit comments

Comments
 (0)