mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2025-01-09 14:25:27 +00:00
Reduce broadcast request connections
This commit is contained in:
parent
97632fdbfe
commit
9def0355aa
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ where
|
||||||
.build()
|
.build()
|
||||||
.expect("Error while initializing tokio runtime for federation");
|
.expect("Error while initializing tokio runtime for federation");
|
||||||
rt.block_on(async {
|
rt.block_on(async {
|
||||||
let capacity = 50;
|
let capacity = 6;
|
||||||
let (tx, rx) = flume::bounded::<RequestBuilder>(capacity);
|
let (tx, rx) = flume::bounded::<RequestBuilder>(capacity);
|
||||||
let mut handles = Vec::with_capacity(capacity);
|
let mut handles = Vec::with_capacity(capacity);
|
||||||
for _ in 0..capacity {
|
for _ in 0..capacity {
|
||||||
|
|
Loading…
Reference in a new issue